From c64534e90e969b413a8890afffefdd32010380ef Mon Sep 17 00:00:00 2001 From: zy Date: Wed, 17 Sep 2025 22:11:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B7=BB=E5=8A=A0=20GitHub=20Actions=20?= =?UTF-8?q?=E5=86=99=E5=85=A5=E6=9D=83=E9=99=90=E9=85=8D=E7=BD=AE=20(#99)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 添加 permissions: contents: write 配置 - 解决 403 权限错误问题 - 允许 GitHub Actions 创建 releases 和上传文件 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Claude --- .github/workflows/release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4b74d8c..829659d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,6 +9,9 @@ on: - 'go.sum' workflow_dispatch: +permissions: + contents: write + jobs: build: runs-on: ubuntu-latest