Skip to content

GitHub Action that synchronizes branch checkouts in multi-repo builds

License

Notifications You must be signed in to change notification settings

xo-energy/action-synchronize-branches

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

GitHub Action - Synchronize Branches

This GitHub Action (written in JavaScript) checks out a branch with the same name as the context (github.ref) branch in each repository in a directory. This helps synchronize multi-repo builds when working on related feature branches in different repositories.

Usage

Inputs

  • path: Directory containing the repositories to synchronize. Defaults to the workspace working directory.