Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

chore(dependabot): group non-major npm updates per package (#1311)

Andrej4bd97b6b3c49
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index f10c91ca0..3ef593ea6 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -1,21 +1,21 @@
version: 2
updates:
+ # Single entry at the workspace root. This repo is a pnpm workspace with one
+ # root pnpm-lock.yaml, so dependabot must run from "/" to discover every
+ # workspace package AND regenerate the shared lockfile. Targeting individual
+ # subdirectories bumps each package.json but leaves the root lockfile stale,
+ # which breaks `pnpm install --frozen-lockfile` in CI.
- package-ecosystem: "npm"
- directory: "/apps/api"
- schedule:
- interval: "weekly"
-
- - package-ecosystem: "npm"
- directory: "/apps/web"
- schedule:
- interval: "weekly"
-
- - package-ecosystem: "npm"
- directory: "/packages/libs"
- schedule:
- interval: "weekly"
-
- - package-ecosystem: "npm"
- directory: "/packages/email"
+ directory: "/"
schedule:
interval: "weekly"
+ open-pull-requests-limit: 10
+ groups:
+ # Batch all non-major updates into a single PR to minimise lockfile churn.
+ # Major bumps still open individually so they keep getting reviewed.
+ npm-minor:
+ patterns:
+ - "*"
+ update-types:
+ - "minor"
+ - "patch"