Skip to content

Commit

Permalink
separate file for yamllint
Browse files Browse the repository at this point in the history
  • Loading branch information
chimanjain committed May 17, 2024
1 parent b104450 commit 0949492
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,17 +88,17 @@ jobs:
with:
directories: .
options: -ri
yaml_lint_scan:
name: Run Yaml Lint
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v4
- name: yaml-lint
uses: ibiqlik/action-yamllint@v3
with:
file_or_dir: .
config_file: .yamllint.yml
# yaml_lint_scan:
# name: Run Yaml Lint
# runs-on: ubuntu-latest
# steps:
# - name: Checkout the code
# uses: actions/checkout@v4
# - name: yaml-lint
# uses: ibiqlik/action-yamllint@v3
# with:
# file_or_dir: .
# config_file: .yamllint.yml
image_security_scan:
name: Image Scanner
runs-on: ubuntu-latest
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/format.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: yamllinters

on:
push:
branches: [main]
pull_request:
branches: ["**"]

permissions:
contents: read

jobs:
yaml_lint_scan:
name: Run Yaml Lint
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v4
- name: yaml-lint
uses: ibiqlik/action-yamllint@v3
with:
file_or_dir: .
config_file: .yamllint.yml

0 comments on commit 0949492

Please sign in to comment.