yhabteab/Backbot - Automatic PR Backporter

A GitHub Action to automatically backport pull requests to specified target branches based on labels.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
github_tokenGitHub token with permissions to create branches, pull requests, and comments. Typically, this is set to "github.token".yes
committerA GitHub username or bot name to use as the committer of the cherry-picked commits.yesgithub-actions[bot]
committer_emailEmail address associated with the committer.yesgithub-actions[bot]@users.noreply.github.com
pr_titleTitle for the backport pull request (default: "[Backport ${target_branch}] ${original_pr_title}").yes[Backport ${target_branch}] ${original_pr_title}
pr_descriptionDescription for the backport pull request (default: "Backport of #${original_pr_number} to ${target_branch}").yesBackport of #${original_pr_number} to ${target_branch}, triggered by a label. --- This is an automated backport PR. Please review it carefully before merging.
label_patternRegex pattern to match labels for determining target branches (default: "^backport-to-(support\/\d+\.\d+)$").yes^backport-to-(support\/\d+\.\d+)$
copy_labels_patternRegex pattern to match labels for copying from the original PR to the backport PR (default empty).
conflict_handlingConflict resolution strategy: "abort" (default) or "draft" to create a draft PR on conflict.yesabort
merge_commit_handlingHandles merge commits encountered as part of the original PR commit history. Options are "skip" (default), "abort", or any other value to include them.yesskip

no outputs