Merge 0d1fb6c392df38469b3b5e8be574cbc44b03cdd9 into 6da1ef39645f54559… #1482
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@v4 | |
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 . |