Skip to content

fix: allow prereleases from main candidates - #346

Merged
Obed0101 merged 1 commit into
mainfrom
codex/release-guard-main
Sep 23, 2026
Merged

Obed0101 merged 1 commit into
mainfrom
codex/release-guard-main

Conversation

@Obed0101

@Obed0101 Obed0101 commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Release run 35916028675 failed in Ensure release runs from main: prerelease candidates were checked only as ancestors of origin/dev, but beta16 was correctly promoted to main via squash and is not an ancestor of dev.

Solution

Allow prerelease candidates to be verified against either origin/dev or origin/main. Stable releases keep the existing main-only guard.

Verification

  • git diff --check — passed.
  • Candidate ancestry — HEAD is an ancestor of origin/main; the previous failed run confirmed it is not an ancestor of origin/dev.
  • PR fix: allow prereleases from main candidates #344 passed all required checks before merging the same one-line fix to dev.
  • No deleted paths; this branch changes only .github/workflows/release.yml.

Release follow-up

After this PR merges, rerun the beta16 release workflow from main using source SHA 670d7f60bc2f2601cca7cb0b0558f00a1dd7a4b4.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

@Obed0101
Obed0101 merged commit 7077dab into main Sep 23, 2026
6 checks passed
@Obed0101
Obed0101 deleted the codex/release-guard-main branch September 23, 2026 21:08
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