fix(publish): accept verified stable release versions#13
Merged
Conversation
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
incus-gh-runner v1.0.0pin to registered exact stablevX.Y.Zreleasesvfrom the validated tagprojectandtag, and derive trusted production confirmation internallyCloses the protected-staging failure observed in run 29971445189 for
incus-gh-runner v1.1.0.Preserved trust boundaries
_staging/; production requires an empty prefix plus explicit production-root mode and preserves_staging/Version and confirmation contract
validate-requestaccepts only an exactvX.Y.Ztag and returns the registered package name pluspackage_version = tagwith exactly one leadingvremoved. Both package formats must report that version. Manual production publication requires exactlypublish <project> <tag> to production; a trusted repository dispatch synthesizes the same phrase from its already validatedprojectandtagfields.Validation
PROTO_GO_VERSION=1.26.4 mise exec -- moon run root:checkmise exec -- actionlint .github/workflows/*.ymlmise exec -- shellcheck scripts/phase5-publish.shmise exec -- python scripts/check_workflow_policy.pymise exec -- go test ./...PROJECT=incus-gh-runner TAG=v1.1.0 PROTO_GO_VERSION=1.26.4 mise exec -- moon run root:phase5-source-proofThe real source proof fetched and verified the five
v1.1.0release assets and provenance, rebuilt both package formats for both registered architectures, and clean-installed package version1.1.0. No R2 publication or production action was performed.