Skip to content

ci: a release over a red tree drafts itself - #24

Merged
rodrigoteamx merged 1 commit into
mainfrom
ci/release-guard
Aug 13, 2026
Merged

ci: a release over a red tree drafts itself#24
rodrigoteamx merged 1 commit into
mainfrom
ci/release-guard

Conversation

@rodrigoteamx

Copy link
Copy Markdown
Contributor

Branch protection covers merging. gh release create goes straight to the world with nothing reviewing it, and there is no release protection the way there is branch protection.

Since it cannot be prevented it gets reverted: on release: published the tagged commit's checks are read, and a tag whose commit is not green moves to draft with an issue naming the counts.

It drafts rather than deletes — one false positive would destroy a legitimate release and its tag. Greenhouse evidence/0171, measured in both directions on app-runtime: red tree drafts itself, green stays.

Branch protection covers merging; gh release create goes straight to the world with nothing
reviewing it. Since it cannot be prevented it gets reverted: on release publish the tagged commit's
checks are read, and a tag whose commit is not green moves to draft with an issue naming the counts.

It drafts rather than deletes, because one false positive would otherwise destroy a legitimate
release and its tag. Greenhouse evidence/0171, measured in both directions.
@rodrigoteamx
rodrigoteamx merged commit 81c725d into main Aug 13, 2026
2 checks passed
@rodrigoteamx
rodrigoteamx deleted the ci/release-guard branch August 13, 2026 14:25
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.

1 participant