File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,10 +16,10 @@ permissions: {}
1616jobs :
1717 zizmor :
1818 name : Check GitHub Actions security
19- if : github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
2019 runs-on : ubuntu-latest
2120 permissions :
2221 contents : read
22+ security-events : write
2323 steps :
2424 - name : Checkout
2525 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2828 - name : Run zizmor
2929 uses : zizmorcore/zizmor-action@a16621b09c6db4281f81a93cb393b05dcd7b7165 # v0.5.5
3030 with :
31- # Using false as a code scanning ruleset would block the release
32- # workflow which creates a new commit and pushes directly to main.
33- advanced-security : false
34- min-severity : medium
31+ advanced-security : ${{ github.event_name == 'push' && 'true' || 'false' }}
32+ min-severity : low
You can’t perform that action at this time.
0 commit comments