Skip to content

Commit 2e7f39b

Browse files
authored
feat: use github app token (#31)
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
1 parent 723dc76 commit 2e7f39b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/backport.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,13 @@ jobs:
1010
runs-on: ubuntu-18.04
1111
name: Backport
1212
steps:
13+
- name: Generate token
14+
id: generate_token
15+
uses: tibdex/github-app-token@v1
16+
with:
17+
app_id: ${{ secrets.APP_ID }}
18+
private_key: ${{ secrets.PRIVATE_KEY }}
1319
- name: Backport
1420
uses: tibdex/backport@v1
1521
with:
16-
github_token: ${{ secrets.GITHUB_TOKEN }}
22+
github_token: ${{ steps.generate_token.outputs.token }}

0 commit comments

Comments
 (0)