Skip to content

ci: update release action to v3 with contract coverage#30

Merged
asimons81 merged 2 commits into
mainfrom
ci/release-action-v3-contract
Jul 20, 2026
Merged

ci: update release action to v3 with contract coverage#30
asimons81 merged 2 commits into
mainfrom
ci/release-action-v3-contract

Conversation

@asimons81

Copy link
Copy Markdown
Owner

Purpose

Supersedes #24 after the CI baseline repair, Codecov v7 merge, and setup-python v7 merge changed main beneath the original Dependabot branch.

Changes

  • Update softprops/action-gh-release from v2 to v3.
  • Add a non-mutating release workflow contract test that verifies:
    • v* tag trigger
    • required write/OIDC/attestation permissions
    • release action v3 reference
    • release asset set
    • generated release notes
    • release → cleanup → PyPI publish ordering
    • constrained Python/build environment

Validation boundary

Ordinary pull-request CI cannot execute the release action because the workflow requires a signed v* tag, verifies ancestry on main, creates a GitHub release, attests artifacts, and publishes through the protected PyPI environment. This PR therefore adds the strongest safe static contract and runs the complete normal CI matrix. No production tag or fake release will be created for validation.

@asimons81
asimons81 merged commit 1b457c0 into main Jul 20, 2026
8 checks passed
@asimons81
asimons81 deleted the ci/release-action-v3-contract branch July 20, 2026 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant