Update github/codeql-action requirement to 4c57370d0304fbff638216539f81d9163f77712a #292
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: "Infra: Workflow linter" | |
| on: | |
| pull_request: | |
| types: ["opened", "reopened", "synchronize"] | |
| paths: | |
| - ".github/workflows/**" | |
| permissions: | |
| contents: read | |
| jobs: | |
| lint-workflows: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@1e31de5234b9f8995739874a8ce0492dc87873e2 # infered from @v4 | |
| with: | |
| fetch-depth: 0 | |
| ref: ${{ github.event.pull_request.head.sha }} | |
| token: ${{ github.token }} | |
| - name: Install yamllint | |
| run: sudo apt install -y yamllint | |
| - name: Validate workflow yaml files | |
| run: yamllint .github/workflows/. -d relaxed -f github --no-warnings |