Commit 6eac0e5
authored
fix: skip zizmor scan on PRs with no workflow changes (#11)
Fix the skipping logic for `zizmor-scan` to ensure that for all Pull Request
events (both `pull_request` and `pull_request_target`), the job is skipped if
no workflow files have changed, even if `wif_provider` is provided as an
input. Non-PR events (like `push` or `schedule`) will still run if
`wif_provider` is set.1 parent f0f768e commit 6eac0e5
1 file changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | | - | |
52 | | - | |
53 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
54 | 56 | | |
55 | 57 | | |
56 | 58 | | |
| |||
0 commit comments