victorede/Sync branches
GitHub Action to, upon successful merge, open a pull request to sync the updated branch back to one or more other branches.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| GITHUB_TOKEN | User token to be associated with this pull request. | yes | — |
| FROM_BRANCH | Branch from make pull-request from | yes | — |
| TO_BRANCH | Branch to make the pull-request against | yes | — |
| PULL_REQUEST_TITLE | What you would like as the title of the pull request. Default: 'sync: {FROM_BRANCH} to {TO_BRANCH}' | no | — |
| PULL_REQUEST_BODY | What you would like in the body of the pull request. Default: 'New code has just landed in {fromBranch} so let's bring {toBranch} up to speed!' | no | — |
| PULL_REQUEST_IS_DRAFT | Set to 'true' for the pull request to be opened as a draft. Default: 'false' | no | — |
| CONTENT_COMPARISON | Set to 'true' to force checking content comparison between the branches. Default: 'false' | no | — |
| REVIEWERS | JSON array of GitHub user `login`s that will be requested to review the PR. Example: '['tretuna']' | no | [] |
| TEAM_REVIEWERS | JSON array of GitHub team `slug`s that will be requested to review the PR. Example: '['js-team']' | no | [] |
| LABELS | JSON array of label names that will be added to the PR. Example: '['sync']' | no | [] |
| PULL_REQUEST_AUTO_MERGE_METHOD | Set a merge method for auto merging. Options: 'merge', 'squash', 'rebase' | no | false |
Outputs
| name | description |
|---|---|
| PULL_REQUEST_URL | URL for either the generated pull request or the currently open one |
| PULL_REQUEST_NUMBER | Pull request number from generated pull request or the currently open one |