Skip to content

ci: guard releases with concurrency and a tag-on-main check - #47

Merged
vmrocha merged 1 commit into
mainfrom
ci/release-guard
Oct 19, 2026
Merged

vmrocha merged 1 commit into
mainfrom
ci/release-guard

Conversation

@vmrocha

@vmrocha vmrocha commented Oct 19, 2026

Copy link
Copy Markdown
Owner

The release workflow had no concurrency guard and never verified that the tag pointed at main, even though RELEASING.md requires it.

  • Add concurrency: release-${{ github.ref }} with cancel-in-progress: false so duplicate runs for one tag serialize instead of racing the tag.
  • Add a "Verify the tag is on main" step that fails the workflow unless $GITHUB_SHA is an ancestor of origin/main.
  • Note the enforcement in RELEASING.md.

YAML validated; the ancestor check passes for the current branch (an ancestor of origin/main).

@vmrocha
vmrocha merged commit bf47f04 into main Oct 19, 2026
5 checks passed
@vmrocha
vmrocha deleted the ci/release-guard branch October 19, 2026 02:24
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