Commit 6585876
Fix PR gate job to fail when upstream jobs fail (#4091)
* Fix PR gate job to fail instead of skip when upstream jobs fail
The `pr` gate job is the only required status check for merging.
Without `if: always()`, when any dependency job fails, the gate job
gets skipped — and GitHub treats skipped as passing, allowing PRs
with failing checks to be merged (e.g. #4087).
This adds `if: always()` so the gate job always runs, and an explicit
check that fails the job when any dependency failed or was cancelled.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* [Testing] break a snapshot
* Update Button.test.tsx.snap
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent db5fc0a commit 6585876
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
385 | 385 | | |
386 | 386 | | |
387 | 387 | | |
| 388 | + | |
388 | 389 | | |
389 | 390 | | |
390 | 391 | | |
| |||
398 | 399 | | |
399 | 400 | | |
400 | 401 | | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
401 | 407 | | |
402 | | - | |
| 408 | + | |
0 commit comments