Skip to content

Commit

Permalink
Updating backport workflow to include custom branch name (#370)
Browse files Browse the repository at this point in the history
Signed-off-by: Vacha Shah <[email protected]>
(cherry picked from commit ddb0aae)
  • Loading branch information
VachaShah authored and ohltyler committed Mar 2, 2022
1 parent 4e806f3 commit fa63a0b
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/backport.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
name: Backport
on:
pull_request:
pull_request_target:
types:
- closed
- labeled

jobs:
backport:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
name: Backport
steps:
- name: Backport
uses: tibdex/backport@v1
uses: VachaShah/backport@v1.1.4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
branch_name: backport/backport-${{ github.event.number }}

0 comments on commit fa63a0b

Please sign in to comment.