ci: add sync workflow to merge release tags back to main#75
Merged
designcode merged 1 commit intomainfrom Apr 8, 2026
Merged
Conversation
After each stable release on the release branch, this workflow automatically creates and merges a PR from release to main, ensuring release tags are reachable from main's history. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
MantasMiksys
approved these changes
Apr 8, 2026
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit fda6b4c. Configure here.
|
🎉 This PR is included in version 2.16.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
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
sync-release-to-main.yamlworkflow that runs after each successful Release workflow on thereleasebranchrelease→main(merge commit) so release tags are reachable frommain's historymaincouldn't see stable release tags because they lived on merge commits only reachable fromreleaseHow it works
releasebranchworkflow_runreleaseis ahead ofmainrelease→mainand auto-merges with merge commitTest plan
🤖 Generated with Claude Code
Note
Medium Risk
Adds an automated workflow that can create and merge PRs into
mainwith write permissions; misconfiguration or unexpectedreleasehistory could cause unintended merges.Overview
Adds a new GitHub Actions workflow (
sync-release-to-main.yaml) that triggers after a successfulReleaseworkflow run on thereleasebranch.When
releaseis ahead ofmain, it uses the GitHub CLI to create (if needed) and auto-merge arelease→mainsync PR, ensuring release commits/tags are merged back intomainhistory.Reviewed by Cursor Bugbot for commit fda6b4c. Bugbot is set up for automated code reviews on this repo. Configure here.