Skip to content

ci: auto-create patch tags on PR merge#25

Merged
tom-nash merged 1 commit into
mainfrom
tom-nash/auto-minor-tag
Apr 7, 2026
Merged

ci: auto-create patch tags on PR merge#25
tom-nash merged 1 commit into
mainfrom
tom-nash/auto-minor-tag

Conversation

@tom-nash
Copy link
Copy Markdown
Member

@tom-nash tom-nash commented Apr 7, 2026

Adds a GitHub Actions workflow that runs when a pull request is merged into main and creates the next patch tag in vX.Y.Z format. The workflow discovers the latest semver tag, increments Z, tags the merge commit, and pushes the new tag to origin. It uses contents:write permissions and a concurrency group to avoid duplicate tag creation during near-simultaneous merges. This single workflow file is the complete diff in this PR.

@tom-nash tom-nash merged commit 9ccb50b into main Apr 7, 2026
4 checks passed
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