Repository navigation
ci(release): publish a final release once it passes the release policy - #13711
Merged
Merged
Conversation
Anyone who may push a final tag may release, so the reviewer approvals before the security assessment and before publication guarded nothing the assessment doesn't decide. A final tag now stages, requires a release candidate of the same version that staged the same images, assesses, reports findings, rechecks the registry digests, and publishes the draft when the assessment passes. Release candidates are unchanged. Signed-off-by: Carlos Villela <[email protected]>
cv
enabled auto-merge (squash)
October 25, 2026 22:33
Contributor
Signed-off-by: Carlos Villela <[email protected]>
Signed-off-by: Carlos Villela <[email protected]>
gaveezy
added a commit
that referenced
this pull request
Oct 26, 2026
#13703 merged into v1 as squash 279ccb5, so GitHub retargeted this branch to v1 and reported conflicts: the squash repeats the provider change this branch already holds as its own commits. Resolution: the squash's tree equals #13703's final head (25349c6) applied to its parent, so this merge is a three-way merge with 25349c6 as the base. The result differs from v1 by exactly this branch's change (199 files) and from the branch's previous head by exactly the three release-CI commits that v1 gained (#13706, #13711, #13715). Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Failure
A final release tag ran two jobs gated by GitHub environment approvals:
security, which assessed the release and reported findings, andpublish-security-reviewed, which published the draft whenV1_SECURITY_PUBLICATION_ENABLEDwas set. Anyone with write access may push a release tag, and that's intended. The approvals restricted releasing to the environments' reviewers, and they didn't decide anything the assessment doesn't: the policy and its exceptions come from thev1controller, and an approval can't add an exception.Decision
A final tag now runs one
publishjob, with no environment, approval, or repository variable:v1, and the release is still a draft.v1controller and its exceptions file, as before.The second assessment before publication is gone: it guarded the delay an approval introduced. Release candidates are unchanged: they assess report-only and attach the results to the private draft.
The docs say to push a final tag only after the release candidate's sign-off, and only after the provenance, SBOM, scanning, and license work. Publishing a draft by hand still bypasses the workflow.
The
v1-release-securityandv1-release-publicationenvironments are deleted after this merges. This replaces #13706.Validation
a_final_release_publishes_only_images_a_release_candidate_stagedruns the candidate check against a fakegh. It accepts a matching candidate, including one listed in another order or after a non-matching candidate, and rejects a changed image, a candidate for another version (v0.1.10-rc1forv0.1.1), no candidate, and a final inventory that isn't the staged one. It also requires that the job has no environment and no variable condition. It and the updated workflow and report tests failed before the change.gh, treating rc8's draft as a finalv0.1.0: it listed the drafts, downloaded rc8's inventory, and matched it.cargo cipasses, including formatting, which the first push failed.actionlint1.7.7 reports nothing new; three existing shellcheck notes remain.nemoclaw-build fern checkreports 0 errors.The publish job runs only for a final tag, so its first real run will be the first final release.