File tree Expand file tree Collapse file tree 3 files changed +41
-1
lines changed Expand file tree Collapse file tree 3 files changed +41
-1
lines changed Original file line number Diff line number Diff line change 2525 foundry :
2626 if : github.event.pull_request.draft == false
2727 runs-on : ubuntu-latest
28+ permissions : {}
2829
2930 steps :
3031 - name : Checkout sources
9394 hardhat :
9495 if : github.event.pull_request.draft == false
9596 runs-on : ubuntu-latest
97+ permissions : {}
9698
9799 steps :
98100 - name : Checkout sources
Original file line number Diff line number Diff line change 88 build :
99 name : Clone, Build, Publish
1010 runs-on : ubuntu-latest
11- steps :
11+ permissions : {}
1212
13+ steps :
1314 - name : Check out repository
1415 uses : actions/checkout@v4
1516 with :
Original file line number Diff line number Diff line change 1+ name : zizmor GA Security Analysis
2+
3+ on :
4+ push :
5+ branches : ["main"]
6+ pull_request :
7+ branches : ["**"]
8+
9+ jobs :
10+ zizmor :
11+ name : zizmor
12+ runs-on : ubuntu-latest
13+ permissions :
14+ security-events : write
15+ # required for workflows in private repositories
16+ contents : read
17+ actions : read
18+
19+ steps :
20+ - name : Checkout repository
21+ uses : actions/checkout@v4
22+ with :
23+ persist-credentials : false
24+
25+ - name : Install the latest version of uv
26+ uses : astral-sh/setup-uv@f94ec6bedd8674c4426838e6b50417d36b6ab231 # v5.3.1
27+
28+ - name : Run zizmor
29+ run : uvx zizmor --format sarif . > results.sarif
30+ env :
31+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
32+
33+ - name : Upload SARIF file
34+ uses : github/codeql-action/upload-sarif@v3
35+ with :
36+ sarif_file : results.sarif
37+ category : zizmor
You can’t perform that action at this time.
0 commit comments