Update github/codeql-action requirement to 5b49155c7f37b5ec074ffd26b428e6b64b1bf412 #317
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 |