fix: 添加 GitHub Actions 写入权限配置 (#99)
- 添加 permissions: contents: write 配置 - 解决 403 权限错误问题 - 允许 GitHub Actions 创建 releases 和上传文件 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
@@ -9,6 +9,9 @@ on:
|
|||||||
- 'go.sum'
|
- 'go.sum'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
Reference in New Issue
Block a user