Commit ec8c5f3
authored
fix(ci): stop the CodeQL cron cancelling the main merge scan (#7933)
The workflow-level `cancel-in-progress: true` applied to every trigger, but
push and schedule both resolve to `refs/heads/main` and therefore share the
`codeql-refs/heads/main` concurrency group. A merge landing shortly before the
daily cron had its scan cancelled mid-extraction, leaving main with a red
status rollup for a commit the cron then scanned clean.
Scoping the cancel to `pull_request` keeps the superseding behavior where it
belongs -- each PR is its own group via `refs/pull/N/merge` -- and lets non-PR
events queue behind an in-progress run instead of killing it.1 parent f12c881 commit ec8c5f3
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
66 | 74 | | |
67 | 75 | | |
68 | 76 | | |
| |||
0 commit comments