chore(deps): update actions/dependency-review-action digest to 7bbfa03 #2155
Workflow file for this run
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: Lint YAML files on Pull Requests | |
on: # yamllint disable-line rule:truthy | |
pull_request: | |
paths: | |
- "**.yaml" | |
- "**.yml" | |
jobs: | |
yamllint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
- name: Get changes | |
uses: dorny/paths-filter@v2 | |
id: filter | |
with: | |
list-files: shell | |
filters: | | |
yaml: | |
- added|modified: "**.yaml" | |
- added|modified: "**.yml" | |
- name: Lint files | |
if: ${{ steps.filter.outputs.yaml == 'true' }} | |
uses: reviewdog/action-yamllint@722e651555c5ca6db0edaada08e049825f74e431 # v1 | |
with: | |
yamllint_flags: "-c .github/lint/.yamllint.yaml ${{ steps.filter.outputs.yaml_files }}" |