Create CODEOWNERS #10
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 | |
- labeled | |
jobs: | |
backport: | |
runs-on: ubuntu-latest | |
container: hashicorpdev/backport-assistant:0.4.3 | |
steps: | |
- name: Configure git with a token that has sufficient privileges | |
run: | | |
git config --global url."https://${{ secrets.VAULT_ECO_GITHUB_TOKEN }}@github.com".insteadOf https://github.com | |
- name: Backport changes to targeted release branch | |
run: backport-assistant backport -merge-method=squash -gh-automerge | |
env: | |
BACKPORT_LABEL_REGEXP: "backport/vault-(?P<target>\\d+\\.\\d+\\.\\w+)" | |
BACKPORT_TARGET_TEMPLATE: "release/vault-{{.target}}" | |
BACKPORT_MERGE_COMMIT: true | |
GITHUB_TOKEN: ${{ secrets.VAULT_ECO_GITHUB_TOKEN }} |