Update github/codeql-action digest to cf1bb45 #337
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: GitHub Actions Security Analysis with zizmor 🌈 | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - ".github/**" | |
| - flake.lock | |
| pull_request: | |
| paths: | |
| - ".github/**" | |
| - flake.lock | |
| permissions: {} | |
| jobs: | |
| zizmor: | |
| name: Run zizmor against GitHub Action workflows | |
| runs-on: ubuntu-latest | |
| permissions: | |
| security-events: write | |
| steps: | |
| - name: Clone repository | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 | |
| with: | |
| persist-credentials: false | |
| - name: Install nix | |
| uses: cachix/install-nix-action@0b0e072294b088b73964f1d72dfdac0951439dbd # v31 | |
| - name: Run zizmor 🌈 | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: | | |
| nix run --inputs-from . nixpkgs-unstable#zizmor -- \ | |
| --format sarif --pedantic . > results.sarif | |
| - name: Upload SARIF file | |
| uses: github/codeql-action/upload-sarif@cf1bb45a277cb3c205638b2cd5c984db1c46a412 # v4 | |
| with: | |
| sarif_file: results.sarif | |
| category: zizmor |