docs(release): 补充仓库 Actions 停用验收

记录仓库级 has_actions=false 和 main 无保护规则的只读验收命令。
This commit is contained in:
2026-07-22 15:17:11 +08:00
parent dae5d16a58
commit 762d61c9cf
+3 -2
View File
@@ -12,13 +12,14 @@
## 一次性停用旧自动化
源码仓已经删除 `.gitea/workflows` 中的全部工作流,`main` 分支保护和 required status 也必须保持关闭。可用下列只读命令验收:
源码仓已经删除 `.gitea/workflows` 中的全部工作流,仓库级 Actions 开关必须为关闭;`main` 分支保护和 required status 也必须保持关闭。可用下列只读命令验收:
```bash
tea api /repos/BCAI/easyai-ai-gateway | node -e 'let s="";process.stdin.on("data",d=>s+=d);process.stdin.on("end",()=>console.log(JSON.parse(s).has_actions))'
tea branches list --repo BCAI/easyai-ai-gateway --output yaml | sed -n '/^- name: main$/,+3p'
```
预期 `protected: "false"``user-can-push: "true"`
第一条预期输出 `false`;分支状态预期 `protected: "false"``user-can-push: "true"`
确认没有运行中任务后,在旧 Runner 主机执行: