2020-10-28 15:22:01 +01:00
|
|
|
---
|
|
|
|
name: Backport Assistant Runner
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request_target:
|
|
|
|
types:
|
|
|
|
- closed
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
backport:
|
|
|
|
if: github.event.pull_request.merged
|
|
|
|
runs-on: ubuntu-latest
|
2020-10-29 20:29:14 +01:00
|
|
|
container: hashicorpdev/backport-assistant:0.2.1
|
2020-10-28 15:22:01 +01:00
|
|
|
steps:
|
|
|
|
- name: Run Backport Assistant
|
|
|
|
run: |
|
|
|
|
backport-assistant backport
|
|
|
|
env:
|
2020-10-28 21:46:28 +01:00
|
|
|
BACKPORT_LABEL_REGEXP: "(?P<target>\\d+\\.\\d+)-backport"
|
2020-10-28 15:22:01 +01:00
|
|
|
BACKPORT_TARGET_TEMPLATE: "v{{.target}}"
|
|
|
|
GITHUB_TOKEN: ${{ secrets.ELEVATED_GITHUB_TOKEN }}
|