[codex] Remove duplicate release workflow#447
Merged
jayscambler merged 1 commit intomainfrom Mar 17, 2026
Merged
Conversation
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.
Summary
This removes the duplicate
release.ymlworkflow and keeps the existing tag-drivenpublish.ymlworkflow as the only supported package publication path.Why this change
We now have clear evidence that
.github/workflows/publish.ymlis the working trusted-publisher path for both PyPI and npm. It successfully publishedautoctx 0.2.1from thev0.2.1tag afterreleaseenvironment approval.At the same time,
.github/workflows/release.ymlcreated a second, conflicting release path. It duplicated the publication surface, used a different auth model, and failed during the same release cycle. Keeping both workflows invites the exact confusion we just had: one workflow is the real trusted-publisher path, while the other looks authoritative but is not aligned with the established release configuration.Root cause
We added a second manual release workflow instead of standardizing on the already-working tag-triggered publish workflow. That split the release process across two GitHub Actions definitions with different assumptions about authentication and operator behavior.
Fix
This PR:
.github/workflows/release.ymldocs/release-checklist.mdto explicitly treat.github/workflows/publish.ymlas the only supported publish workflowreleaseenvironment approval stepValidation
origin/mainworkflow definitions directlypublish.ymlis the workflow that successfully published0.2.1release.ymlpath was the one that failed and caused operator confusion