Repository navigation
Commit 3be1860
committed
fix(ci): remove !cancelled() from required-check gates to prevent cancel bypass
The lint, typecheck, and examples aggregate jobs used
`always() && !cancelled() && ...` which causes a cancelled workflow to
produce a 'skipped' conclusion instead of 'cancelled'. Since GitHub
treats skipped required checks as successful, cancelling CI could
satisfy branch protection without lint or typecheck ever running.
Remove !cancelled() from these three required-check aggregate jobs,
matching the pattern already used by the test aggregate. Leaf shard
jobs retain !cancelled() because they do actual work and are not
required-check gates.1 parent 5a4af66 commit 3be1860
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
499 | 499 | | |
500 | 500 | | |
501 | 501 | | |
502 | | - | |
| 502 | + | |
503 | 503 | | |
504 | 504 | | |
505 | 505 | | |
| |||
639 | 639 | | |
640 | 640 | | |
641 | 641 | | |
642 | | - | |
| 642 | + | |
643 | 643 | | |
644 | 644 | | |
645 | 645 | | |
| |||
706 | 706 | | |
707 | 707 | | |
708 | 708 | | |
709 | | - | |
| 709 | + | |
710 | 710 | | |
711 | 711 | | |
712 | 712 | | |
| |||
0 commit comments