Skip to content

Commit 7e99488

Browse files
committed
chore: release app
1 parent 3042363 commit 7e99488

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- main
7+
workflow_dispatch:
78

89
concurrency: ${{ github.workflow }}-${{ github.ref }}
910

@@ -19,9 +20,17 @@ jobs:
1920
id-token: write
2021

2122
steps:
23+
- name: Generate GitHub App token
24+
id: app-token
25+
uses: actions/create-github-app-token@f8d387b68d61c58ab83c6c016672934102569859
26+
with:
27+
app-id: ${{ secrets.APP_ID }}
28+
private-key: ${{ secrets.APP_PRIVATE_KEY }}
29+
2230
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
2331
with:
2432
fetch-depth: 0
33+
token: ${{ steps.app-token.outputs.token }}
2534

2635
- name: Install pnpm
2736
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320
@@ -46,4 +55,4 @@ jobs:
4655
commit: 'chore: release packages'
4756
title: 'chore: release packages'
4857
env:
49-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
58+
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}

0 commit comments

Comments
 (0)