Skip to content

AST-171789 Gate release and delete jobs behind release environment - #222

Merged
cx-lior-poterman merged 1 commit into
mainfrom
ast-171789-gate-release-and-delete
Aug 31, 2026
Merged

cx-lior-poterman merged 1 commit into
mainfrom
ast-171789-gate-release-and-delete

Conversation

@cx-lior-poterman

Copy link
Copy Markdown

Adds environment: release to the release job and to the delete-packages-and-releases job, both of which previously ran with no approval gate.

The delete workflow removes GitHub releases, tags, and npm package versions, and is directly dispatchable, so it needed the same gate as release.yml, which calls it as a reusable workflow.

Dev-build cleanup runs will now pause for approval, which is the intended behavior.

…nment

Both the release job and the delete-packages-and-releases job could run
without any approval gate, even though the destructive delete workflow is
directly dispatchable and is also invoked by release.yml. Adding
`environment: release` to each job routes them through the existing
`release` GitHub Environment, which already has required reviewers and a
branch policy configured.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@cx-lior-poterman
cx-lior-poterman requested a review from a team August 31, 2026 09:38
@cx-sumit-morchhale
cx-sumit-morchhale self-requested a review August 31, 2026 10:59

@cx-sumit-morchhale cx-sumit-morchhale left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@cx-lior-poterman
cx-lior-poterman merged commit 594ed39 into main Aug 31, 2026
6 of 8 checks passed
@cx-lior-poterman
cx-lior-poterman deleted the ast-171789-gate-release-and-delete branch August 31, 2026 13:32
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.

3 participants