主要改进: - 改为 PR 合并到 main 时触发(不是每次 push) - 自动删除超过 10 个的旧 Release,保持发布历史整洁 - 移除 prerelease 标记,所有自动构建都是正式 Release - 恢复使用 v 前缀的版本号格式 - 清理了现有的 Draft 状态 Release 工作流程: 1. PR 合并到 main 分支时自动构建并发布 2. 自动清理,只保留最近 10 个 Release 3. 手动触发 tag-release.yml 发布语义化版本 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
29 lines
695 B
JSON
29 lines
695 B
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"mcp__context7__resolve-library-id",
|
|
"mcp__context7__get-library-docs",
|
|
"Bash(go mod:*)",
|
|
"Bash(go build:*)",
|
|
"Bash(go get:*)",
|
|
"Bash(go list:*)",
|
|
"Bash(go test:*)",
|
|
"Bash(rmdir:*)",
|
|
"Bash(rm:*)",
|
|
"Bash(gofmt:*)",
|
|
"Bash(goimports:*)",
|
|
"Bash(chmod:*)",
|
|
"Bash(true)",
|
|
"Bash(go vet:*)",
|
|
"Bash(golangci-lint run:*)",
|
|
"WebSearch",
|
|
"mcp__playwright__browser_navigate",
|
|
"mcp__playwright__browser_click",
|
|
"mcp__playwright__browser_tab_select",
|
|
"Bash(gh pr merge:*)",
|
|
"Bash(gh release list:*)",
|
|
"Bash(awk:*)"
|
|
],
|
|
"deny": []
|
|
}
|
|
} |