You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ci(publish): trust main CI as the release gate instead of re-running it
The publish workflow re-ran the full 8-combo test matrix on every
release — a duplicate of the CI that already ran on main at that exact
commit, costing ~8 jobs of Actions time per release for no new signal.
Publishing now verifies instead of re-testing:
- the release tag must exist (clear error on a bogus dispatch, which is
how today's run failed: v0.3.0 was dispatched before any tag existed),
- the tagged commit must be reachable from main,
- the CI workflow run at that commit must have concluded success,
- tag and pyproject versions must match (unchanged),
- the built artifacts get twine check --strict plus an install-and-
import smoke test in a bare venv — validating the wheel itself, which
main CI never sees.
Publishing remains automatic on every published GitHub release; the
OIDC publish step is unchanged and still pinned by SHA.
0 commit comments