Skip to content

Commit

Permalink
backport assistant updates (#231)
Browse files Browse the repository at this point in the history
  • Loading branch information
vinay-gopalan authored Oct 22, 2024
1 parent 97bfcdc commit f3b4b24
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/backport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,13 @@ jobs:
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
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 }}

0 comments on commit f3b4b24

Please sign in to comment.