Skip to content

tibdex/sync-branches

Repository files navigation

Sync-branches is a JavaScript GitHub Action to merge a repository branch into other branches to keep them in sync.

Usage

  1. 🔌 Add this .github/workflows/sync-branches.yml to your repository.

  2. ✨ 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).