Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: 2
updates:
- package-ecosystem: gomod
directory: /backend
directory: /services/api
schedule:
interval: weekly
day: monday
Expand Down
4 changes: 2 additions & 2 deletions docs/dependabot-update-policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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.

Expand Down
14 changes: 7 additions & 7 deletions plans/github-actions-enhancements.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 完成後,這段可視為已處理的背景紀錄。
Comment thread
nurockplayer marked this conversation as resolved.

建議先開一個小 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。

Expand All @@ -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` 一致。
Expand Down Expand Up @@ -277,7 +277,7 @@ Repo 內既有設計文件(目前存在於 `develop`;若後續搬移或改

## 建議拆 PR

### PR A:Dependabot directory drift
### PR A:Dependabot directory drift(已完成於本 PR)

目的:恢復 Go Dependabot。

Expand Down
Loading