Skip to content

Commit 209dc2d

Browse files
authored
PYTHON-5430 Use the zizmor action (#85)
1 parent 58501b8 commit 209dc2d

File tree

1 file changed

+3
-14
lines changed

1 file changed

+3
-14
lines changed

.github/workflows/zizmor.yml

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: GitHub Actions Security Analysis with zizmor 🌈
1+
name: GitHub Actions Security Analysis with zizmor
22

33
on:
44
push:
@@ -17,16 +17,5 @@ jobs:
1717
uses: actions/checkout@v4
1818
with:
1919
persist-credentials: false
20-
- name: Setup Rust
21-
uses: actions-rust-lang/setup-rust-toolchain@v1
22-
- name: Get zizmor
23-
run: cargo install zizmor
24-
- name: Run zizmor 🌈
25-
run: zizmor --format sarif . > results.sarif
26-
env:
27-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28-
- name: Upload SARIF file
29-
uses: github/codeql-action/upload-sarif@v3
30-
with:
31-
sarif_file: results.sarif
32-
category: zizmor
20+
- name: Run zizmor
21+
uses: zizmorcore/zizmor-action@1c7106082dbc1753372e3924b7da1b9417011a21

0 commit comments

Comments
 (0)