sorenlouv / backport

A simple CLI tool that automates the process of backporting commits on a GitHub repo
https://github.com/sqren/backport/blob/main/docs/config-file-options.md
Apache License 2.0
241 stars 57 forks source link

Add `--copy-source-pr-labels` option and rename `--add-original-reviewers` to `--copy-source-pr-reviewers` #474

Closed sorenlouv closed 10 months ago

sorenlouv commented 10 months ago

Closes https://github.com/sqren/backport/issues/456

When enabled, copySourcePRLabels will copy any non-backport labels from the source pull request and persist it on the target pull request.

It can be used in the config like:

{
  "copySourcePRLabels": true
}

And via CLI:

backport --copy-source-pr-labels

This option is quite similar to addOriginalReviewers and their names have therefore been aligned:

backport --copy-source-pr-labels --copy-source-pr-reviewers