Skip to content

Commit 271d647

Browse files
committed
修复
1 parent 018dff1 commit 271d647

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@ jobs:
1515

1616
steps:
1717
- uses: actions/checkout@v3
18+
19+
- name: 生成 GitHub App 临时令牌
20+
id: auth
21+
uses: actions/create-github-app-token@v1
22+
with:
23+
app-id: ${{ secrets.BOT_APP_ID }}
24+
private-key: ${{ secrets.BOT_APP_SECRET }}
25+
owner: ${{ github.repository_owner }}
1826

1927
- name: Set up Python
2028
uses: actions/setup-python@v4
@@ -45,4 +53,6 @@ jobs:
4553
asset_path: .\dist\release.zip
4654
asset_name: release.zip
4755
asset_content_type: application/zip
56+
env:
57+
GITHUB_TOKEN: ${{ steps.auth.outputs.token }}
4858

0 commit comments

Comments
 (0)