This CLI tool is used to manage pull requests creation, merges and releases hapening across multiple repositories.
Create the JSON configuration file, matching this example :
{
"pat": "MY_TOKEN",
"pattern": {
"title": "Main to production",
"body": "Main staging to production"
},
"repositories": [
{
"owner": "Sangrene",
"repo": "multi-repo-sync",
"origin": "main",
"target": "release"
}
]
}The pattern describes the PR title and body.
Run the binary. --help if needed.
ie
.multi-repo-sync --config=config.json --release=v1.23.2