Skip to content

Commit 4a3522e

Browse files
committed
fix: use zizmor-action with digest-pinned Docker images
Replaces pip install with the official zizmorcore/zizmor-action (SHA-pinned) which uses digest-pinned Docker images. Disables SARIF upload since this workflow lacks security-events: write.
1 parent 2976cfb commit 4a3522e

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

.github/workflows/audit-gha-workflows.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,8 @@ jobs:
1515
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1616
with:
1717
persist-credentials: false
18-
- name: Install zizmor
19-
run: pip install zizmor==1.23.1
2018
- name: Run zizmor
21-
env:
22-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23-
run: |
24-
if [ -d .github ]; then
25-
zizmor .github --gh-token "${GITHUB_TOKEN}" --min-severity medium
26-
fi
19+
uses: zizmorcore/zizmor-action@71321a20a9ded102f6e9ce5718a2fcec2c4f70d8 # v0.5.2
20+
with:
21+
advanced-security: false
22+
min-severity: medium

0 commit comments

Comments
 (0)