Update github/codeql-action requirement to 7b0fb5a4ac3b38ee6ee9a3ab6ffe59c27e9c4d3b #279
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 |