Backport/consul template update #31272
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Backport Assistant Runner (for OSS & ENT) | |
on: | |
pull_request_target: | |
types: | |
- closed | |
- labeled | |
jobs: | |
backport-targeted-release-branch: | |
if: github.event.pull_request.merged | |
runs-on: ubuntu-latest | |
container: hashicorpdev/backport-assistant:0.3.3 | |
steps: | |
- name: Backport changes to targeted release branch | |
run: | | |
backport-assistant backport -merge-method=squash -gh-automerge | |
env: | |
BACKPORT_LABEL_REGEXP: "backport/(?P<target>\\d+\\.\\d+\\.[+\\w]+)" | |
BACKPORT_TARGET_TEMPLATE: "release/{{.target}}" | |
BACKPORT_MERGE_COMMIT: true | |
GITHUB_TOKEN: ${{ secrets.ELEVATED_GITHUB_TOKEN }} |