Sync-branches is a JavaScript GitHub Action to merge a repository branch into other branches to keep them in sync.
-
🔌 Add this .github/workflows/sync-branches.yml to your repository.
-
✨ That's it! When the action is run after a commit is pushed, PRs will be created (or updated) to merge the commit's branch into the configured ones.
Note: To avoid successive sync PRs to run into conflicts, PRs created by this action should be merged with a merge commits (i.e. no squash or rebase merge).