Skip to content

Commit

Permalink
add github workflow for linting yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
shaneknapp committed Aug 16, 2024
1 parent e8bdf77 commit e361daf
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/yaml-lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
on: pull-request # yamllint disable-line rule:truthy

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install yamllint
run: pip install yamllint==1.35.1

- name: Lint YAML files
run: yamllint --no-warnings .
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ chardet
requests==2.31.0
# requests==2.32.3
urllib3<2.0.0
yamllint==1.35.1

0 comments on commit e361daf

Please sign in to comment.