Repository navigation
ci: require cli-release approval before the stable CDN upload - #588
Merged
Merged
Conversation
Part of SECOPS-325 Co-Authored-By: Claude Opus 5.5 <[email protected]>
machowdh
approved these changes
Nov 20, 2026
miguel-heygen
approved these changes
Nov 20, 2026
miguel-heygen
left a comment
Contributor
There was a problem hiding this comment.
Reviewed at c4e75544.
- Only
publish-cdnchanges. The diff is one line in.github/workflows/release-stable.yml:environment: cli-releaseonpublish-cdn(line 240).release,cleanup-failed-releaseandpublish-releasehave no environment and are unchanged. The trigger is stillworkflow_dispatch, and nothing else in the release changes. - The
cli-releaseenvironment matches the description (read with the environments API):- Required reviewers: three listed users, so one approval from any of them.
prevent_self_review: true.- The deployment branch policy is custom, with the single branch rule
main.
Nit: the environment has can_admins_bypass: true, so a repo admin can run the upload without an approval. If "pauses until a release approver signs off" should hold for admins too, turn that off in the environment settings. It is not part of this diff.
All checks at this head: all 12 check runs finished green, none pending; not DIRTY.
Verdict: APPROVE
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.
Scope
Surfaces: CLI release pipeline | Module: Release / distribution
Summary
Stable releases now pause before uploading the CLI to the public CDN until a release approver signs off. Live on merge: the next stable release waits at the CDN upload step for approval.
How it works
cli-releaseGitHub environment.main.Testing
actionlintpasses on the workflow.cli-releaseenvironment exists with its approvers, self-review blocked, and amain-only branch rule.Part of SECOPS-325
🤖 Generated with Claude Code