mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-26 17:01:04 -06:00
3ed08e3566
This requires more GitHub token permissions than we have, and it's inessential. The backport PRs should have reviews assigned to the original PR author anyway.
22 lines
532 B
YAML
22 lines
532 B
YAML
---
|
|
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.2.1
|
|
steps:
|
|
- name: Run Backport Assistant
|
|
run: |
|
|
backport-assistant backport
|
|
env:
|
|
BACKPORT_LABEL_REGEXP: "(?P<target>\\d+\\.\\d+)-backport"
|
|
BACKPORT_TARGET_TEMPLATE: "v{{.target}}"
|
|
GITHUB_TOKEN: ${{ secrets.ELEVATED_GITHUB_TOKEN }}
|