Commit 8e6d01f
fix(ci): ensure PR gate job fails instead of skipping when upstream jobs fail (#2926)
## Summary
- The `PR` gate job is the required status check for merging
- Without `if: always()`, when any dependency job fails, the gate job
gets **skipped** — and GitHub treats `SKIPPED` as passing for required
checks, allowing PRs with failing CI to merge
- Adds `if: always()` so the gate job always runs, plus an explicit
check that fails when any dependency failed or was cancelled
## Test plan
- [ ] Verify that when all jobs pass, the `PR` gate job still passes
- [ ] Verify that when any job fails, the `PR` gate job now **fails**
instead of being skipped
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 34ca616 commit 8e6d01f
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
| 162 | + | |
162 | 163 | | |
163 | 164 | | |
164 | 165 | | |
| |||
172 | 173 | | |
173 | 174 | | |
174 | 175 | | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
175 | 181 | | |
176 | | - | |
| 182 | + | |
0 commit comments