Skip to content

Commit

Permalink
Merge pull request #5962 from shaneknapp/add-yaml-linting
Browse files Browse the repository at this point in the history
[DH-227] add github workflow for linting yaml
  • Loading branch information
shaneknapp authored Aug 16, 2024
2 parents e8bdf77 + 2dc5471 commit b8b87df
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/yaml-lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: "Yaml lint"
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 b8b87df

Please sign in to comment.