Skip to content

Commit 91f9d19

Browse files
committed
ci: adjust zizmor advanced security handling
1 parent 6681314 commit 91f9d19

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/zizmor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ permissions: {}
1515
jobs:
1616
zizmor:
1717
name: Check GitHub Actions security
18-
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
1918
runs-on: ubuntu-latest
2019
permissions:
2120
contents: read
@@ -28,4 +27,5 @@ jobs:
2827
- name: Run zizmor
2928
uses: zizmorcore/zizmor-action@b1d7e1fb5de872772f31590499237e7cce841e8e # v0.5.3
3029
with:
31-
advanced-security: true
30+
advanced-security: ${{ github.event_name == 'push' && 'true' || 'false' }}
31+
min-severity: low

0 commit comments

Comments
 (0)