YAML lint #850
Workflow file for this run
This file contains hidden or 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: YAML lint | |
| permissions: | |
| contents: read | |
| # Cancel workflow if there is a new change to the branch. | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
| on: | |
| merge_group: | |
| pull_request: | |
| branches: | |
| - main | |
| paths: | |
| - "**/*.yml" | |
| - "**/*.yaml" | |
| - ".github/workflows/yaml-lint.yml" | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - "**/*.yml" | |
| - "**/*.yaml" | |
| - ".github/workflows/yaml-lint.yml" | |
| jobs: | |
| yaml-lint: | |
| runs-on: ubuntu-slim | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: jdx/mise-action@v4 | |
| - run: mise lint:yaml |