From 0cb8ad8efb1074a5391fc3dd60a59095e44779ef Mon Sep 17 00:00:00 2001 From: suyiiyii Date: Sat, 21 Dec 2024 14:06:47 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E6=9B=B4=E6=96=B0=20release-trigger=20?= =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E6=B5=81=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 为 archive任务添加 contents: write 权限 - 在 checkout 步骤中添加 token 输入 --- .github/workflows/release-trigger.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-trigger.yml b/.github/workflows/release-trigger.yml index 24f69f8..bb88a55 100644 --- a/.github/workflows/release-trigger.yml +++ b/.github/workflows/release-trigger.yml @@ -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