Skip to content

Commit 9bf00a3

Browse files
committed
[DEVOPS-799] do not run zizmor on draft PR
1 parent a1074db commit 9bf00a3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/reusable-zizmor-security.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55

66
jobs:
77
security_scan:
8+
if: ${{ (github.event_name != 'pull_request') || (github.event.pull_request.draft == false) }}
89
runs-on: ubuntu-latest
910
permissions:
1011
contents: read

0 commit comments

Comments
 (0)