Merge 0212202857d77f877428c39aa781edfe0919102c into 3d8a630152a987f99… #2137
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
# This is a GitHub workflow defining a set of jobs with a set of steps. | |
# ref: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions | |
# | |
name: Test yamllint | |
on: | |
pull_request: | |
paths: | |
- "**/*.yaml" | |
- "**/*.yml" | |
- ".github/workflows/test-yamllint.yaml" | |
push: | |
paths: | |
- "**/*.yaml" | |
- "**/*.yml" | |
- ".github/workflows/test-yamllint.yaml" | |
branches-ignore: | |
- "dependabot/**" | |
- "pre-commit-ci-update-config" | |
- "update-*" | |
workflow_dispatch: | |
jobs: | |
yamllint: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version-file: ".python-version" | |
- run: pip install yamllint | |
# We use --no-warnings to reduce output to errors that needs to be fixed | |
- run: yamllint --config-data=scripts/yamllint-no-secrets.yaml --no-warnings . |