Commit 8c8ecc1
committed
chore: fix all-passed gate to run with if: always()
The all-passed job depends on lint-commits which is always skipped
on push events (due to its if: github.event_name == 'pull_request'
conditional). GitHub Actions propagates skipped status to dependent
jobs, so all-passed was silently skipped on every run and never
actually gated anything.
Adding if: always() ensures the gate job runs regardless of skipped
dependencies, and the step now verifies that no jobs failed or were
cancelled instead of unconditionally reporting success.1 parent b744d4d commit 8c8ecc1
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
| |||
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
65 | | - | |
66 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
0 commit comments