tibdex/Sync branches
Automatically merge a repository branch into other branches to keep them in sync.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| body_template | Lodash template for the syncing PR's body. The data properties are: - base: syncing PR's base branch - head: branch to merge into `base`. | — | Sync `<%= base %>` with `<%= head %>`. |
| branches_pattern | Branches matching this `minimatch` pattern will be synced with the branch from which this action is run. If empty, all the protected branches will be synced. | — | "" |
| github_token | Token for the GitHub API. | — | ${{ github.token }} |
| head_template | Lodash template for the syncing PR's head branch. The data properties are: - base: syncing PR's base branch - head: branch to merge into `base`. | — | sync-<%= base %>-with-<%= head %> |
| labels_template | Lodash template compiling to a JSON array of labels to add to the syncing PR. The data properties are: - base: syncing PR's base branch - head: branch to merge into `base`. | — | [] |
| title_template | Lodash template for the syncing PR's title. The data properties are: - base: syncing PR's base branch - head: branch to merge into `base`. | — | Sync `<%= base %>` with `<%= head %>` |
Outputs
| name | description |
|---|---|
| created_pull_requests | A JSON stringified object mapping the base branch of the created pull requests to their number. |