Commit 5844048
authored
ci: tolerate skipped build in ci-pass gate (#2190)
The ci-pass step treated needs.build.result != "success" as failure,
which made every release-bot push fail: build's own if: skips on
ci(release) commits to prevent publish loops, so build.result is
"skipped" by design on those runs.
Replace the per-job result checks with the standard contains pattern
over needs.*.result. Failure and cancelled still fail the gate;
skipped is tolerated symmetrically for build and integration. New
needed jobs added later inherit the rule without further edits.1 parent 1f0de40 commit 5844048
1 file changed
Lines changed: 2 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
| 126 | + | |
| 127 | + | |
135 | 128 | | |
136 | 129 | | |
137 | 130 | | |
| |||
0 commit comments