https://github.com/tibdex/sync-branches
⏩ GitHub Action to keep some repository branches in sync
https://github.com/tibdex/sync-branches
branch github-action javascript-github-action sync sync-branches
Last synced: 29 days ago
JSON representation
⏩ GitHub Action to keep some repository branches in sync
- Host: GitHub
- URL: https://github.com/tibdex/sync-branches
- Owner: tibdex
- License: mit
- Created: 2022-04-10T14:38:23.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-20T15:43:16.000Z (about 3 years ago)
- Last Synced: 2025-03-01T20:32:21.019Z (10 months ago)
- Topics: branch, github-action, javascript-github-action, sync, sync-branches
- Language: TypeScript
- Homepage:
- Size: 519 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Sync-branches is a [JavaScript GitHub Action](https://help.github.com/en/articles/about-actions#javascript-actions) to merge a repository branch into other branches to keep them in sync.
# Usage
1. :electric_plug: Add this [.github/workflows/sync-branches.yml](.github/workflows/sync-branches.yml) to your repository.
2. :sparkles: 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).