Backport of backends: Fix crash when interrupting during interactive prompt for values' into v1.11 #4176
Workflow file for this run
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 | |
on: | |
pull_request_target: | |
types: | |
- closed | |
pull_request: | |
types: | |
- labeled | |
permissions: | |
contents: write # to push to a new branch | |
pull-requests: write # to create a new PR | |
jobs: | |
backport: | |
if: github.event.pull_request | |
runs-on: ubuntu-latest | |
container: hashicorpdev/backport-assistant:0.4.7@sha256:36f9d4fba82b9454f1f62bf76c8078fafe3ab0be71356cb96af6d56ac4482cd8 | |
steps: | |
- name: Run Backport Assistant | |
run: | | |
backport-assistant backport | |
env: | |
BACKPORT_LABEL_REGEXP: "(?P<target>\\d+\\.\\d+)-backport" | |
BACKPORT_TARGET_TEMPLATE: "v{{.target}}" | |
BACKPORT_CREATE_DRAFT_ALWAYS: true | |
GITHUB_TOKEN: ${{ github.token }} |