Commit ae2b414
Fix: don't skip release-to-dev-pypi on [SKIP-TESTS] commits (#2712)
The CI pipeline added in #2710 introduced a [SKIP-TESTS] commit-message
gate that bypasses the test matrix while still allowing pre-commit and
dev-pypi publish on main. The dev-pypi publish part regressed: when
[SKIP-TESTS] skips the `test` job, `release-to-dev-pypi` is also skipped,
even though `define-matrix` (its direct dependency) succeeded.
Cause: GitHub Actions' default success() check on a job evaluates the
*transitive* needs graph, so a skipped ancestor propagates as a non-
success. `define-matrix` already guards against this with
always() + explicit needs.test.result check; release-to-dev-pypi did
not, so it was skipped on bump merges.
Mirror the same pattern on release-to-dev-pypi: require define-matrix
to have succeeded explicitly, and use always() to bypass the implicit
transitive check.
Verified failure mode in run 26031647533 (release_20260518_1 bump):
- test: skipped (correct — [SKIP-TESTS])
- define-matrix: success
- release-to-dev-pypi: skipped (bug — should have run)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 310b0f0 commit ae2b414
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
337 | | - | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
338 | 345 | | |
339 | 346 | | |
340 | 347 | | |
| |||
0 commit comments