Skip to content

ci: drop the redundant post-tag Release PR job - #97

Merged
mogita merged 1 commit into
mainfrom
ci/drop-post-tag-release-pr
Sep 15, 2026
Merged

mogita merged 1 commit into
mainfrom
ci/drop-post-tag-release-pr

Conversation

@mogita

@mogita mogita commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Problem

release-pr-followup, added in 30419f4 (#96), fixes a gap that does not exist. The reasoning behind it was wrong: it assumed a push landing during a release run executes and skips release-pr, stranding that commit until the next unrelated push.

It does not execute. The workflow-level concurrency group (release-${{ github.ref_name }}, cancel-in-progress: false) makes that run pending. It starts only after the release run ends, by which point release-please has tagged and flipped the merged Release PR to autorelease: tagged, so its own detect reports pending=false and release-pr opens the Release PR normally. Where several pushes queue, GitHub keeps the newest pending run, and release-please walks history, so the survivor still proposes every commit that landed in the window.

Solution

Remove the job. detect's gate is still load-bearing for the two cases that do reach it: the release run itself, and a run following a release that failed after its Release PR merged.

How to verify

Release on the next push to main runs Detect pending releaseRelease PR and nothing else, as it did before #96 added the job.

Added in 30419f4 for a gap that does not exist. The workflow concurrency group already covers it: a push during a release run goes pending rather than running, and starts only once the tag exists and the label has flipped, so its own detect reports no pending release and release-pr runs.
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