File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,17 +17,26 @@ concurrency:
1717
1818jobs :
1919 zizmor :
20+ name : Zizmor
2021 runs-on : ubuntu-latest
2122 timeout-minutes : 10
23+ permissions :
24+ contents : read
2225 steps :
2326 - name : Checkout
2427 # see https://github.com/actions/checkout
25- uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
28+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
2629 with :
2730 persist-credentials : false
28- - name : Run zizmor
31+ - name : Run zizmor 🌈
2932 # see https://github.com/zizmorcore/zizmor-action
30- uses : zizmorcore/zizmor-action@5f14fd08f7cf1cb1609c1e344975f152c7ee938d # v0.5.6
33+ uses : zizmorcore/zizmor-action@b1d7e1fb5de872772f31590499237e7cce841e8e # v0.5.3
3134 with :
35+ # advanced-security: false => emit findings as workflow-command annotations (::error file=…) rather than
36+ # uploading a SARIF report to GitHub's Security tab.
37+ # Uploading SARIF requires `security-events: write` and GitHub Advanced Security (GHAS),
38+ # both of which are unnecessary here and would violate the least-privilege policy.
39+ # The two modes are mutually exclusive: advanced-security must be false for
40+ # annotations to take effect.
3241 advanced-security : false
3342 annotations : true
You can’t perform that action at this time.
0 commit comments