Skip to content

Commit

Permalink
ci: 更新 release-trigger 工作流权限
Browse files Browse the repository at this point in the history
- 为 archive任务添加 contents: write 权限
- 在 checkout 步骤中添加 token 输入
  • Loading branch information
suyiiyii committed Dec 21, 2024
1 parent 5a2d34d commit 0cb8ad8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,14 @@ on:
jobs:
archive:
runs-on: ubuntu-latest

permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
ref: main
token: ${{ github.token }}


- uses: ./.github/actions/setup-python
name: Setup Python & uv
Expand Down

0 comments on commit 0cb8ad8

Please sign in to comment.