Skip to content

Commit 3ea1b87

Browse files
committed
use zizmor action
1 parent 8810a02 commit 3ea1b87

File tree

1 file changed

+4
-15
lines changed

1 file changed

+4
-15
lines changed

.github/workflows/zizmor.yml

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

33
on:
44
push:
5-
branches: ["main"]
5+
branches: ["master"]
66
pull_request:
77
branches: ["**"]
88

@@ -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@fb51252c7ba57d633bc668f941da052e410add48 # 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@d6bbdef45e766d081b84a2def353b0055f728d3e # v3
30-
with:
31-
sarif_file: results.sarif
32-
category: zizmor
20+
- name: Run zizmor 🌈
21+
uses: zizmorcore/zizmor-action@87e33752ad17c7c7fc16fe27c858900c59b18d77

0 commit comments

Comments
 (0)