Repository navigation
Commit 594438e
committed
fix: the generated gate fails when a needed job was skipped
The All checks passed job failed only on failure or cancelled, so a job that
ended skipped counted as passed. Today that takes a failed lint, which already
fails the gate, but an if: or a paths filter added to the test jobs later would
turn "the tests did not run" into a green required check.
Every needed job now has to succeed. A job skipped by design is named in
MAY_SKIP, and only those may end skipped. The template's own CI already
requires success from every job; the generated one now does too, without
breaking a library that skips a job on purpose.
Closes #161 parent 8ebf45d commit 594438e
1 file changed
Lines changed: 14 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
60 | 63 | | |
61 | 64 | | |
62 | 65 | | |
63 | 66 | | |
64 | 67 | | |
65 | 68 | | |
66 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
67 | 73 | | |
68 | | - | |
69 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
70 | 81 | | |
71 | 82 | | |
72 | 83 | | |
0 commit comments