Skip to content

ci(release): add auto-merge PR and tag-on-main workflows#16

Merged
jzills merged 3 commits into
developfrom
ci/release-auto-merge-and-tag
May 22, 2026
Merged

ci(release): add auto-merge PR and tag-on-main workflows#16
jzills merged 3 commits into
developfrom
ci/release-auto-merge-and-tag

Conversation

@jzills

@jzills jzills commented May 21, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds a merge job to release.yml that runs after a successful publish, opens a PR from the release branch into main, and enables auto-merge
  • Adds a new tag.yml workflow that fires when a release/** PR is merged into main, creating the vX.Y.Z git tag on the resulting main commit

How it works

push release/vX.Y.Z
  → test → publish → open PR to main (auto-merge enabled)
    → pr.yml CI passes → PR auto-merges
      → tag.yml fires → vX.Y.Z tag created on main

Prerequisites

Enable Allow auto-merge in each repo: Settings → General → Pull Requests.

Test plan

  • Enable "Allow auto-merge" in repo settings
  • Push a release/v0.0.0-test branch and confirm the merge job opens a PR targeting main
  • Confirm auto-merge banner appears on the PR
  • After PR merges, confirm tag.yml creates the v0.0.0-test tag on main

jzills added 3 commits May 21, 2026 13:07
After a successful publish, opens a PR from the release branch to main
with auto-merge enabled. A separate tag.yml creates the vX.Y.Z git tag
on main once the PR merges.
@jzills jzills force-pushed the ci/release-auto-merge-and-tag branch from 821e182 to a552a3a Compare May 22, 2026 02:02
@jzills jzills merged commit 84528cf into develop May 22, 2026
7 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