調整:ci/cd 一致化,版本計算抽到 next-version #1

Merged
admin merged 1 commits from chore/unify-ci-cd into main 2026-11-05 04:28:31 +00:00
Member

Summary

ci/cd 一致化與版本計算抽出(細節見 feather-vault 的 ADR 0047)。

 .gitea/workflows/
-ci.yaml   # 每個 repo 自己設 go_test/docker_build 開關
+ci.yaml   # 只有 action-ci(自動偵測:go.mod+test/ → Go 測試;Dockerfile → 建置映像檔)
-cd.yaml   # release-go next-version + 手寫打標籤步驟
+cd.yaml   # 只有 action-cd(checkout → next-version → 打標籤)

Evidence

  • Before: 11 個 repo 各有一份相同的 cd.yaml、ci.yaml 用開關。
    After: ci.yaml/cd.yaml 內容一致;腳本測試在 next-version、release-go 本機通過,CI 見本 PR 的檢查。

Merge Danger

Door: two-way

Blast Radius: action 發版

合併後 cd 依「只動文件、圖示、測試、.gitea/、go.mod 不發版」判斷;有程式變更的 repo(action-ci、ci-run、release-go)會發新標籤,呼叫端要改 ACTION_<名稱>_VERSION 才會採用。cd 需要組織變數 ACTION_ACTION_CD_VERSION、ACTION_NEXT_VERSION_VERSION。

🤖 Generated with Claude Code

## Summary ci/cd 一致化與版本計算抽出(細節見 feather-vault 的 ADR 0047)。 ```diff .gitea/workflows/ -ci.yaml # 每個 repo 自己設 go_test/docker_build 開關 +ci.yaml # 只有 action-ci(自動偵測:go.mod+test/ → Go 測試;Dockerfile → 建置映像檔) -cd.yaml # release-go next-version + 手寫打標籤步驟 +cd.yaml # 只有 action-cd(checkout → next-version → 打標籤) ``` ## Evidence - **Before:** 11 個 repo 各有一份相同的 cd.yaml、ci.yaml 用開關。 **After:** ci.yaml/cd.yaml 內容一致;腳本測試在 next-version、release-go 本機通過,CI 見本 PR 的檢查。 ## Merge Danger **Door:** two-way **Blast Radius:** action 發版 合併後 cd 依「只動文件、圖示、測試、`.gitea/`、`go.mod` 不發版」判斷;有程式變更的 repo(action-ci、ci-run、release-go)會發新標籤,呼叫端要改 `ACTION_<名稱>_VERSION` 才會採用。cd 需要組織變數 `ACTION_ACTION_CD_VERSION`、`ACTION_NEXT_VERSION_VERSION`。 🤖 Generated with [Claude Code](https://claude.com/claude-code)
bot added 1 commit 2026-11-05 04:13:50 +00:00
調整:ci/cd 一致化(action-ci 自動偵測、action-cd)、版本計算抽到 next-version
cd / tag (pull_request) Successful in 6s
ci / test (pull_request) Successful in 5s
680cef54ee
admin merged commit 2364c10cf5 into main 2026-11-05 04:28:31 +00:00
admin deleted branch chore/unify-ci-cd 2026-11-05 04:28:32 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: actions/ci-env#1