ci: grant contents write for release

This commit is contained in:
xiamuceer-j
2026-03-02 13:27:24 +08:00
parent 423e671338
commit 1f5328ffc2
+3
View File
@@ -6,6 +6,9 @@ on:
- 'v*' # 仅当推送形如 v1.0.0 的 tag 时触发 - 'v*' # 仅当推送形如 v1.0.0 的 tag 时触发
workflow_dispatch: # 允许在 GitHub Actions 页面手动触发 workflow_dispatch: # 允许在 GitHub Actions 页面手动触发
permissions:
contents: write # 允许 GITHUB_TOKEN 创建/更新 Release
jobs: jobs:
build-binaries: build-binaries:
name: Build Go Binaries name: Build Go Binaries