Repository navigation
Commit e5af3ef
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 64af1dd commit e5af3ef
1 file changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
| |||
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
79 | | - | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
87 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
0 commit comments