File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 steps :
1616 - name : Checkout repository
1717 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
18+ with :
19+ persist-credentials : false
1820
1921 - name : Setup pnpm
2022 uses : pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5
2628 with :
2729 node-version : 24
2830 registry-url : https://registry.npmjs.org
29- cache : pnpm
31+ # disable cache, to avoid cache poisoning (https://docs.zizmor.sh/audits/#cache-poisoning)
32+ package-manager-cache : false
3033
3134 - name : Install dependencies
3235 run : pnpm install --frozen-lockfile
Original file line number Diff line number Diff line change 1+ name : Zizmor
2+
3+ on :
4+ workflow_dispatch :
5+ pull_request :
6+ push :
7+ branches :
8+ - main
9+ paths :
10+ - ' .github/workflows/**'
11+
12+ permissions : {}
13+
14+ concurrency :
15+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
16+ cancel-in-progress : ${{ github.ref_name != 'main' }}
17+
18+ jobs :
19+ zizmor :
20+ name : Run zizmor
21+ runs-on : ubuntu-latest
22+ permissions :
23+ security-events : write # Required for upload-sarif (used by zizmor-action) to upload SARIF files.
24+ steps :
25+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
26+ with :
27+ persist-credentials : false
28+
29+ - name : Run zizmor 🌈
30+ uses : zizmorcore/zizmor-action@5f14fd08f7cf1cb1609c1e344975f152c7ee938d # v0.5.6
You can’t perform that action at this time.
0 commit comments