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
|
|
|
|
container: hashicorpdev/backport-assistant:0.0.0
|
|
|
|
steps:
|
|
|
|
- name: Run Backport Assistant
|
|
|
|
run: |
|
|
|
|
backport-assistant backport
|
|
|
|
env:
|
2020-10-28 21:43:38 +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 }}
|
|
|
|
GITHUB_REVIEW_TEAMS: "hashicorp/terraform-core"
|