From 6624e9a8d702934c1584ebdcd031b4fbcd0ae764 Mon Sep 17 00:00:00 2001 From: KenanZhu <3471685733@qq.com> Date: Tue, 23 Jun 2026 11:18:07 +0800 Subject: [PATCH] fix(ci): add permissions block to release workflow GITHUB_TOKEN needs explicit contents: write to create releases via softprops/action-gh-release. Without it, the API returns 403. Co-Authored-By: Claude --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index af7a37f..bf90a15 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,6 +25,8 @@ jobs: if: startsWith(github.ref, 'refs/tags/v') needs: validate runs-on: ubuntu-latest + permissions: + contents: write steps: - uses: actions/checkout@v4