Skip to content

Commit ac13c2c

Browse files
authored
use github action for zizmor
1 parent d5d3001 commit ac13c2c

File tree

1 file changed

+4
-19
lines changed

1 file changed

+4
-19
lines changed

.github/workflows/zizmor.yml

Lines changed: 4 additions & 19 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:
@@ -8,29 +8,14 @@ on:
88

99
jobs:
1010
zizmor:
11-
name: zizmor latest via PyPI
11+
name: zizmor latest via Cargo
1212
runs-on: ubuntu-latest
1313
permissions:
1414
security-events: write
15-
# required for workflows in private repositories
16-
contents: read
17-
actions: read
1815
steps:
1916
- name: Checkout repository
2017
uses: actions/checkout@v4
2118
with:
2219
persist-credentials: false
23-
24-
- name: Install the latest version of uv
25-
uses: astral-sh/setup-uv@bd01e18f51369d5a26f1651c3cb451d3417e3bba # v5
26-
27-
- name: Run zizmor 🌈
28-
run: uvx zizmor --format sarif . > results.sarif
29-
env:
30-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31-
32-
- name: Upload SARIF file
33-
uses: github/codeql-action/upload-sarif@181d5eefc20863364f96762470ba6f862bdef56b # v3
34-
with:
35-
sarif_file: results.sarif
36-
category: zizmor
20+
- name: Run zizmor
21+
uses: zizmorcore/zizmor-action@1c7106082dbc1753372e3924b7da1b9417011a21

0 commit comments

Comments
 (0)