Skip to content

Commit

Permalink
Change to auto-backport-to- syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
sorenlouv authored Aug 2, 2022
1 parent 9bd9026 commit b1d9abf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
uses: sqren/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
auto_backport_label_prefix: backport-to-
auto_backport_label_prefix: auto-backport-to-

- name: Info log
if: ${{ success() }}
Expand All @@ -37,7 +37,7 @@ jobs:

```
Now, to backport a pull request, simply apply the labels `auto-backport` and `backport-to-production`. This will automatically backport the PR to the branch called "production" when the PR is merged.
Now, to backport a pull request, simply apply the labels `auto-backport` and `auto-backport-to-production`. This will automatically backport the PR to the branch called "production" when the PR is merged.

## Configuration

Expand All @@ -53,9 +53,9 @@ For more fine grained customization, and for the ability to run the [Backport To
// the branches available to backport to
"targetBranchChoices": ["main", "production", "staging"],
// In this case, adding the label "backport-to-production" will backport the PR to the "production" branch
// In this case, adding the label "auto-backport-to-production" will backport the PR to the "production" branch
"branchLabelMapping": {
"^backport-to-(.+)$": "$1"
"^auto-backport-to-(.+)$": "$1"
}
}
```
Expand Down

0 comments on commit b1d9abf

Please sign in to comment.