Skip to content

Commit

Permalink
ci(backport): use app token
Browse files Browse the repository at this point in the history
  • Loading branch information
branchvincent authored and neersighted committed Sep 2, 2022
1 parent 29a797b commit f1af3f8
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/backport.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,15 @@ jobs:
)
)
steps:
- uses: tibdex/backport@v2
- name: Generate token
id: generate_token
uses: tibdex/github-app-token@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
app_id: ${{ secrets.POETRY_TOKEN_APP_ID }}
private_key: ${{ secrets.POETRY_TOKEN_APP_KEY }}
- name: Generate backport
uses: tibdex/backport@v2
with:
github_token: ${{ steps.generate_token.outputs.token }}
title_template: "[<%= base %>] <%= title %>"
label_pattern: "^backport/(?<base>([^ ]+))$"

0 comments on commit f1af3f8

Please sign in to comment.