OpenClaw v2026.5.12 升級回顧:Workflow 大規模清理與版本統一策略
OpenClaw v2026.5.12 升級回顧:Workflow 大規模清理與版本統一策略
這次升級的背景
從 v2026.5.7 升級到 v2026.5.12,這次不只是版本對齊,更重要的是全面清理不必要的 workflows。
官方維護了大量的 CI/CD 流程,這些流程在我們的 fork 上沒有實際用途,卻消耗 GitHub Actions minutes。
執行的步驟
1. 從官方 v2026.5.12 創建分支
1
2
git fetch upstream --tags
git checkout -b my-config-v2026.5.12 v2026.5.12
2. Cherry-pick 自定義 commits
依序套用:
chore: upgrade to v2026.4.30 baseline and restore essential configsdocs: finalize v2026.5.2 upgrade and record official baseline strategychore: remove redundant official workflowsdocs: update SOP to include mandatory workflow cleanupdocs: record v2026.5.6 upgrade retrospectivechore: stop tracking .env
3. 額外清理
除了之前刪除的 workflows,這次又刪除了 12 個額外的 workflows:
mantis-*系列openclaw-performancereal-behavior-proofwindows-*系列website-installer-sync
最終結果
- Workflows 總數:從 53+ 個精簡到只有
docker-release.yml - 檔案變動:59 個檔案,+545 行,-21183 行
新增的檔案
.env(從追蹤中移除)Dockerfile.official+Dockerfile.upstreamGEMINI.md+GEMINI-MASTER-PLAYBOOK.md(升級 SOP 文件)Upgrade-Retrospective-v2026.5.6.md
刪除的 workflows
53 個官方 workflows,只保留 docker-release.yml
Commit 歷史
1
2
3
4
5
6
7
8
chore: cleanup official workflows - keep only docker-release.yml
chore: stop tracking .env
docs: record v2026.5.6 upgrade retrospective
docs: update SOP to include mandatory workflow cleanup
chore: remove redundant official workflows to stop unnecessary actions
docs: finalize v2026.5.2 upgrade and record official baseline strategy
chore: upgrade to v2026.4.30 baseline and restore essential configs
chore(release): prepare 2026.5.12 ← official v2026.5.12
如何回滾
1
2
3
4
5
6
# 方式一:切換回舊分支
git checkout my-config-v2026.5.7
# 方式二:強制推送舊分支
git checkout my-config-v2026.5.7
git push --force origin my-config-v2026.5.12
待完成事項
- Docker build 觸發並成功完成
- 驗證 image SHA 與 branch commit 一致
- 設定為 GitHub 預設分支
- 部署到 Zeabur
相關文章:
This post is licensed under CC BY 4.0 by the author.