Fix label regexp

We only use two components for versions, e.g. `0.13-backport` -> `v0.13`
This commit is contained in:
Alisdair McDiarmid 2020-10-28 10:23:43 -04:00 committed by GitHub
parent fd14b237e5
commit 1e32354e3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ jobs:
run: | run: |
backport-assistant backport backport-assistant backport
env: env:
BACKPORT_LABEL_REGEXP: "(?P<target>\\d\\.\\d\\.\\d)-backport" BACKPORT_LABEL_REGEXP: "(?P<target>\\d\\.\\d\\)-backport"
BACKPORT_TARGET_TEMPLATE: "v{{.target}}" BACKPORT_TARGET_TEMPLATE: "v{{.target}}"
GITHUB_TOKEN: ${{ secrets.ELEVATED_GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.ELEVATED_GITHUB_TOKEN }}
GITHUB_REVIEW_TEAMS: "hashicorp/terraform-core" GITHUB_REVIEW_TEAMS: "hashicorp/terraform-core"