VAULT-8242 Add automerge functionality to backport (#17506)

* VAULT-8242 Add automerge functionality to backport

* VAULT-8242 remove extra space
This commit is contained in:
Violet Hynes 2022-10-12 13:59:34 -04:00 committed by GitHub
parent 2f99734a49
commit adc23f0a77
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,11 +11,11 @@ jobs:
backport-targeted-release-branch:
if: github.event.pull_request.merged
runs-on: ubuntu-latest
container: hashicorpdev/backport-assistant:0.2.5
container: hashicorpdev/backport-assistant:0.3.0
steps:
- name: Backport changes to targeted release branch
run: |
backport-assistant backport
backport-assistant backport -merge-method=squash -gh-automerge
env:
BACKPORT_LABEL_REGEXP: "backport/(?P<target>\\d+\\.\\d+\\.[+\\w]+)"
BACKPORT_TARGET_TEMPLATE: "release/{{.target}}"