Commit afc5f77
fix(ci): stop no-op label events from cancelling PR deployments
The PR Deploy workflow shared one concurrency group across both its
`pull_request` and `pull_request_target` triggers with
`cancel-in-progress: true`. Any bot label landing while a deployment was
running entered the same group and cancelled it, then skipped every job
because check-options requires the label to be 'Needs: Deployment'. The PR
was left with cancelled/skipped deploy jobs and no explanation.
Label events that are not 'Needs: Deployment' now get a unique, throwaway
group so they cancel nothing. Real deployments — every `pull_request` run
and the 'Needs: Deployment' label run — stay in the shared per-PR group, so
a new push still cancels an in-flight deployment.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent ac8daaf commit afc5f77
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
32 | 37 | | |
33 | | - | |
| 38 | + | |
34 | 39 | | |
35 | 40 | | |
36 | 41 | | |
| |||
0 commit comments