File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 branches : ['master', 'main']
66 pull_request :
77 branches : ['**']
8+ workflow_dispatch :
89 schedule :
910 - cron : ' 0 0 * * 6'
1011
@@ -16,17 +17,26 @@ concurrency:
1617
1718jobs :
1819 zizmor :
20+ name : Zizmor
1921 runs-on : ubuntu-latest
2022 timeout-minutes : 10
23+ permissions :
24+ contents : read
2125 steps :
2226 - name : Checkout
2327 # see https://github.com/actions/checkout
2428 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2529 with :
2630 persist-credentials : false
27- - name : Run zizmor
31+ - name : Run zizmor 🌈
2832 # see https://github.com/zizmorcore/zizmor-action
2933 uses : zizmorcore/zizmor-action@5f14fd08f7cf1cb1609c1e344975f152c7ee938d # v0.5.6
3034 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.
3141 advanced-security : false
3242 annotations : true
You can’t perform that action at this time.
0 commit comments