From b1d9abf6a12774a3d2a79518fdc637baa0ad9e8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Louv-Jansen?= Date: Tue, 2 Aug 2022 10:11:55 +0200 Subject: [PATCH] Change to `auto-backport-to-` syntax --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 8e0b95d..eed5065 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ jobs: uses: sqren/backport-github-action@v8.9.3 with: github_token: ${{ secrets.GITHUB_TOKEN }} - auto_backport_label_prefix: backport-to- + auto_backport_label_prefix: auto-backport-to- - name: Info log if: ${{ success() }} @@ -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 @@ -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" } } ```