Skip to content

Commit

Permalink
Improve documentation for branchLabelMapping
Browse files Browse the repository at this point in the history
  • Loading branch information
sorenlouv authored Feb 9, 2022
1 parent 5d77be1 commit 585c8b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ Add a [project config](https://github.com/sqren/backport/blob/master/docs/config
"targetBranchChoices": ["main", "6.3", "6.2", "6.1", "6.0"],

// Optional: Automatically detect which branches a pull request should be backported to based on the pull request labels.
// In this case, adding the label "backport-to-production" will backport the PR to the "production" branch
"branchLabelMapping": {
"^backport-to-(.+)$": "$1"
}
Expand Down

0 comments on commit 585c8b1

Please sign in to comment.