Skip to content

Commit

Permalink
Create vault-plugin-backport.yml (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahethompson committed Apr 27, 2021
1 parent d8496d1 commit 41eaf5d
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions vault-plugin-backport.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
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.2
steps:
- name: Run Backport Assistant for release branches
run: |
backport-assistant backport
env:
BACKPORT_LABEL_REGEXP: "backport/vault-(?P<target>\\d+\\.\\d+\\.\\w+)"
BACKPORT_TARGET_TEMPLATE: "release/vault-{{.target}}"
GITHUB_TOKEN: ${{ secrets.HC_GITHUB_TEAM_SECURE_VAULT_ECOSYSTEM_GITHUB_TOKEN }}

0 comments on commit 41eaf5d

Please sign in to comment.