jschmid1/Cross Repo Cherrypick Action

Cherry pick commits of pull requests to target branches of a remote resoitory.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
tokenToken to authenticate requests to GitHub. Used to create and label pull requests and to comment. Either GITHUB_TOKEN or a repo-scoped Personal Access Token (PAT). ${{ github.token }}
github_workspaceWorking directory for the cherry-pick action.${{ github.workspace }}
label_patternRegex pattern to match the cherry-pick labels on the merged pull request. Must contain a capture group for the target branch. The action will cherry-pick the pull request to each matched target branch. Note that the pull request's headref is excluded automatically. ^cherry-pick ([^ ]+)$
merge_commitsSpecifies how the action should deal with merge commits on the merged pull request. When set to `fail` the cherry-pick fails when the action detects one or more merge commits. When set to `skip` the action only cherry-picks non-merge commits, i.e. it ignores merge commits. fail
pull_descriptionTemplate used as description (i.e. body) in the pull requests created by this action. Placeholders can be used to define variable values. These are indicated by a dollar sign and curly braces (`${placeholder}`). Please refer to this action's README for all available placeholders. # Description cherry-pick of #${pull_number} to `${target_branch}`.
pull_titleTemplate used as the title in the pull requests created by this action. Placeholders can be used to define variable values. These are indicated by a dollar sign and curly braces (`${placeholder}`). Please refer to this action's README for all available placeholders. [cherry-pick ${target_branch}] ${pull_title}
upstream_repoThe repository to cherry-pick to. Use format `owner/repo`
branch_mapA json-formatted mapping of target branches to upstream branches in case they are different. {}
trigger_labelThe label that triggers the cherry-pick action. If the merged pull request has this label, the action will cherry-pick it. If the merged pull request does not have this label, the action will do nothing. cherry-pick to remote
namedescription
was_successfulWhether or not the changes could be cherry-picked successfully to all targets. Either 'true' or 'false'.
was_successful_by_targetWhether or not the changes could be cherry-picked successfully to all targets - broken down by target. Follows the pattern '{{label}}=true|false'.