Merge pull request #646 from controlplaneio/dependabot/github_actions… #484
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Linting - YAML | |
# Split until path filtering for jobs added | |
# https://github.community/t/path-filtering-for-jobs-and-steps/16447 | |
on: | |
push: | |
branches: [master] | |
paths: | |
- "**.yml" | |
- "**.yaml" | |
pull_request: | |
branches: [master] | |
paths: | |
- "**.yml" | |
- "**.yaml" | |
jobs: | |
yamllint: | |
name: yamllint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Run yamllint | |
uses: reviewdog/action-yamllint@v1 |