Skip to content

Update actions/github-script action to v9 #551

Update actions/github-script action to v9

Update actions/github-script action to v9 #551

Workflow file for this run

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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: false
- name: Install nix
uses: cachix/install-nix-action@616559265b40713947b9c190a8ff4b507b5df49b # 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@c10b8064de6f491fea524254123dbe5e09572f13 # v4
with:
sarif_file: results.sarif
category: zizmor