Update github/codeql-action requirement to 7850b1c983e1b1a075d2d8ec35d953043c495c2e #429
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 |