chore(deps): replace k8s.gcr.io/autoscaling/vpa-recommender docker tag to #7135
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-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- 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@v1 | |
with: | |
yamllint_flags: "-c .github/lint/.yamllint.yaml ${{ steps.filter.outputs.yaml_files }}" |