File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ # https://github.com/woodruffw/zizmor
2+ name : GitHub Actions Security Analysis with Zizmor
3+
4+ on :
5+ push :
6+ branches : ["main"]
7+ pull_request :
8+ branches : ["*"]
9+
10+ jobs :
11+ zizmor :
12+ name : Zizmor
13+ runs-on : ubuntu-24.04
14+ permissions :
15+ security-events : write
16+ steps :
17+ - name : Checkout repository
18+ uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
19+ with :
20+ persist-credentials : false
21+ - name : Setup Python
22+ uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
23+ - name : Run zizmor
24+ run : pipx run zizmor --format sarif . > results.sarif
25+ - name : Upload SARIF file
26+ uses : github/codeql-action/upload-sarif@f443b600d91635bebf5b0d9ebc620189c0d6fba5 # v3.29.5
27+ with :
28+ # Path to SARIF file relative to the root of the repository
29+ sarif_file : results.sarif
30+ # Optional category for the results
31+ # Used to differentiate multiple results for one commit
32+ category : zizmor
You can’t perform that action at this time.
0 commit comments