diff --git a/.github/dependabot.yml b/.github/dependabot.yml index ec5040b..a9eaf73 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,7 +1,7 @@ version: 2 updates: - package-ecosystem: gomod - directory: /backend + directory: /services/api schedule: interval: weekly day: monday diff --git a/docs/dependabot-update-policy.md b/docs/dependabot-update-policy.md index b766e73..13b3a8f 100644 --- a/docs/dependabot-update-policy.md +++ b/docs/dependabot-update-policy.md @@ -18,7 +18,7 @@ Do not change these entries to a non-existent `pnpm` ecosystem name. Version updates target `develop` and run on Monday morning in `Asia/Taipei`: -- `/backend`: 09:00 +- `/services/api`: 09:00 - `/apps/dashboard`: 09:30 - `/apps/extension`: 10:00 @@ -29,7 +29,7 @@ queue when many packages release close together. Dependency updates are grouped by review shape: -- Go modules in `/backend` are grouped into `backend-go-deps`. +- Go modules in `/services/api` are grouped into `backend-go-deps`. - Dashboard pnpm updates are split into production and development groups. - Tachimint pnpm updates are split into production and development groups. diff --git a/plans/github-actions-enhancements.md b/plans/github-actions-enhancements.md index 85b1c49..b6a1966 100644 --- a/plans/github-actions-enhancements.md +++ b/plans/github-actions-enhancements.md @@ -38,23 +38,23 @@ repo 目前已有 9 個 `.github/workflows` 檔案,其中 8 個是 GitHub Acti ### Dependabot Go module 路徑 -目前 `.github/dependabot.yml` 與 `docs/dependabot-update-policy.md` 還寫 Go module directory 為 `/backend`,但 repo 現況是: +PR A 修正前,`.github/dependabot.yml` 與 `docs/dependabot-update-policy.md` 還寫 Go module directory 為 `/backend`,但 repo 現況是: - Go module:`services/api/go.mod` - 舊路徑 `backend/` 不存在 -這會讓 Go Dependabot update 無法正確掃描。這不是新增 workflow,而是應先修正的既有 automation drift。 +這會讓 Go Dependabot update 無法正確掃描。這不是新增 workflow,而是應先修正的既有 automation drift。PR A 完成後,這段可視為已處理的背景紀錄。 -建議先開一個小 PR: +PR A 已處理: - `.github/dependabot.yml`:把 gomod directory 從 `/backend` 改成 `/services/api` - `docs/dependabot-update-policy.md`:同步把 `/backend` 改成 `/services/api` ## 推薦實作順序 -### 1. 修正 Dependabot Go directory drift +### 1. 修正 Dependabot Go directory drift(已完成於 PR A) -**優先級:P0** +**優先級:P0 / completed** 目的:恢復 Go module dependency update。 @@ -63,7 +63,7 @@ repo 目前已有 9 個 `.github/workflows` 檔案,其中 8 個是 GitHub Acti - `.github/dependabot.yml` - `docs/dependabot-update-policy.md` -驗收方式: +完成狀態: - `dependabot.yml` syntax 仍合法。 - 文件中的 Go module path 與 `services/api/go.mod` 一致。 @@ -277,7 +277,7 @@ Repo 內既有設計文件(目前存在於 `develop`;若後續搬移或改 ## 建議拆 PR -### PR A:Dependabot directory drift +### PR A:Dependabot directory drift(已完成於本 PR) 目的:恢復 Go Dependabot。