Skip to content

Commit

Permalink
Add yaml linting
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Zhu <[email protected]>
  • Loading branch information
peterzhuamazon committed Sep 25, 2024
1 parent dd6a320 commit c34612b
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/yaml-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: yaml-lint

on: [push, pull_request]

jobs:
yaml-lint:
name: 'yaml-lint'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: 'Yaml Lint'
uses: karancode/yamllint-github-action@master
with:
yamllint_file_or_dir: 'configs'
yamllint_strict: false
yamllint_comment: true
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit c34612b

Please sign in to comment.