alexander-demicev/Rancher Cherry-Pick Action

Automates backports by creating cherry-pick pull requests for labeled release branches

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
github_tokenGitHub token with contents:write and pull-requests:write permissions. Defaults to the workflow token.no${{ github.token }}
label_prefixPrefix for cherry-pick labels (e.g., "cherry-pick/" matches "cherry-pick/release-v2.8")nocherry-pick/
dry_runIf true, skip all git pushes and PR creation (useful for testing)nofalse
verboseEnable verbose logging (overrides log_level to debug)nofalse
log_levelLogging level: debug, info, warn, errornoinfo
log_formatLog output format: text or jsonnotext
conflict_strategyStrategy when cherry-pick conflicts occur: "fail" (skip and comment) or "placeholder-pr" (create PR with empty commit)nofail
target_branchesComma or newline-separated list of branches to cherry-pick to (overrides label-based detection)no""
github_base_urlGitHub Enterprise API base URL (e.g., https://github.example.com/api/v3). Leave empty for github.com.no""
github_upload_urlGitHub Enterprise upload URL (e.g., https://github.example.com/api/uploads). Leave empty for github.com.no""
git_user_nameGit committer name for placeholder commits. Defaults to "Rancher Cherry-Pick Bot".no""
git_user_emailGit committer email for placeholder commits. Defaults to "no-reply@rancher.com".no""
git_signing_keyGPG private key (base64-encoded or ASCII-armored) for signing commits. Leave empty to disable signing.no""
git_signing_passphrasePassphrase to unlock the GPG signing key (if required)no""
require_org_membershipIf true, skip execution when GITHUB_ACTOR is not a member of the repository owner organizationnofalse
namedescription
created_prsJSON array of created cherry-pick pull request URLs
skipped_targetsJSON array of target branches that were skipped with reasons