Skip to content

Commit 8e7b0b9

Browse files
authored
generate token for releasing tag (#86)
1 parent 0f8c7d0 commit 8e7b0b9

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/release.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,15 @@ jobs:
1111
contents: write
1212

1313
steps:
14+
- uses: actions/create-github-app-token@v1
15+
id: app-token
16+
with:
17+
app-id: ${{ vars.APP_ID }}
18+
private-key: ${{ secrets.APP_PRIVATE_KEY }}
1419
- uses: actions/checkout@v4
1520
with:
16-
token: ${{ secrets.WORKFLOW_TOKEN }}
21+
token: ${{ steps.app-token.outputs.token }}
22+
persist-credentials: false
1723
- name: Use Node.js 22.x
1824
uses: actions/setup-node@v4
1925
with:

0 commit comments

Comments
 (0)