Skip to content

Commit b2c8fc4

Browse files
committed
update
1 parent cdbf347 commit b2c8fc4

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/security-testing-pr.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ permissions:
88

99
jobs:
1010
zizmor:
11-
name: zizmor latest via PyPI
11+
name: zizmor
1212
runs-on: ubuntu-latest
1313
permissions:
1414
security-events: write # needed for SARIF uploads
@@ -24,7 +24,14 @@ jobs:
2424
uses: astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7.1.2
2525

2626
- name: Run zizmor 🌈
27-
run: uvx zizmor --format=github .
27+
run: |
28+
cat <<EOF > zizmor.yml
29+
rules:
30+
unpinned-uses:
31+
disable: true
32+
EOF
33+
34+
uvx zizmor --format=github --config=zizmor.yml .
2835
env:
2936
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3037

0 commit comments

Comments
 (0)