ci(release): add guarded web publish dispatch - #776
Merged
Merged
Conversation
19 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add a first-class Web/Actions release publication path so an approved
mainrelease candidate can be dry-run and then published without temporary helper workflows, while preserving the existing tag-push path and release immutability rules.Scope
Changes
Build and Releasemanual dispatch with explicitdry-runandpublishmodes.publishto provide the exact approvedmainSHA, a successful prior dry-run ID for the same version/repository/SHA, and explicit publish confirmation.revision,version, andsourcelabels to the release candidate rather than GitHub event context.docs/release.mdwith the Web publish flow, contributor acknowledgement gate, and recovery semantics.User Impact
No application runtime behavior changes. Maintainers can publish a validated release directly from GitHub Actions / Web tooling without creating temporary publisher workflows. The release process remains two-stage: successful dry-run first, then explicit publish against the exact same
mainSHA.Compatibility / Runtime Notes
v*tags remain supported by the normal tag-push release path.workflow_dispatchmust run frommain.expected_sha, successfuldry_run_id, andconfirm_publish=true.Data / Security Notes
GITHUB_TOKENand validates repository, workflow path/name, run status, run event, version-specific run title, branch, exact SHA, and prior dry-run completion before creating a ref.Risk / Rollback
Risk level: Medium. This changes the release control plane, not product runtime behavior. The main risks are incorrectly authorizing a publish dispatch or changing release sequencing; both are covered by fail-closed guards and repository-level tests.
Rollback by reverting this PR. The existing tag-push release path remains independently supported.
Verification
Commands / evidence:
Screenshots / Recordings
N/A — release automation / CI behavior only.
Docs
Docs decision:
docs/release.mdis the canonical operator documentation for this release-process capability; no end-user product release note is required.Related
Refs #775