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.

ci: narrow Renovate update batches

justin557e7b871b60
diff --git a/renovate.json b/renovate.json
index bf566f960..6051fe997 100644
--- a/renovate.json
+++ b/renovate.json
@@ -10,14 +10,16 @@
"automerge": false,
"timezone": "Etc/UTC",
"schedule": ["before 6am on Monday"],
- "prConcurrentLimit": 10,
+ "prConcurrentLimit": 3,
"vulnerabilityAlerts": {
"enabled": true,
"labels": ["security"],
"automerge": false
},
"npm": {
- "commitMessagePrefix": "chore(deps):"
+ "commitMessagePrefix": "chore(deps):",
+ "minimumReleaseAge": "7 days",
+ "separateMinorPatch": true
},
"github-actions": {
"commitMessagePrefix": "ci(deps):"
@@ -25,13 +27,75 @@
"packageRules": [
{
"matchManagers": ["npm"],
+ "matchPackageNames": ["@aws-sdk/*"],
"matchUpdateTypes": ["minor", "patch"],
- "groupName": "npm minor and patch dependencies"
+ "groupName": "AWS SDK"
+ },
+ {
+ "matchManagers": ["npm"],
+ "matchPackageNames": ["@sentry/*"],
+ "matchUpdateTypes": ["minor", "patch"],
+ "groupName": "Sentry"
+ },
+ {
+ "matchManagers": ["npm"],
+ "matchPackageNames": [
+ "@tanstack/react-query",
+ "@tanstack/react-query-devtools"
+ ],
+ "matchUpdateTypes": ["minor", "patch"],
+ "groupName": "TanStack Query"
+ },
+ {
+ "matchManagers": ["npm"],
+ "matchPackageNames": [
+ "@tanstack/react-router",
+ "@tanstack/router-plugin"
+ ],
+ "matchUpdateTypes": ["minor", "patch"],
+ "groupName": "TanStack Router"
+ },
+ {
+ "matchManagers": ["npm"],
+ "matchPackageNames": ["@tiptap/*"],
+ "matchUpdateTypes": ["minor", "patch"],
+ "groupName": "Tiptap"
+ },
+ {
+ "matchManagers": ["npm"],
+ "matchPackageNames": ["react", "react-dom"],
+ "matchUpdateTypes": ["minor", "patch"],
+ "groupName": "React"
+ },
+ {
+ "matchManagers": ["npm"],
+ "matchPackageNames": ["expo", "expo-*", "@expo/*"],
+ "matchUpdateTypes": ["minor", "patch"],
+ "groupName": "Expo"
+ },
+ {
+ "matchManagers": ["npm"],
+ "matchPackageNames": ["better-auth", "@better-auth/*"],
+ "matchUpdateTypes": ["minor", "patch"],
+ "groupName": "Better Auth"
},
{
"matchManagers": ["github-actions"],
"matchUpdateTypes": ["minor", "patch", "digest", "pin", "pinDigest"],
"groupName": "GitHub Actions non-major updates"
+ },
+ {
+ "matchUpdateTypes": ["major", "replacement"],
+ "dependencyDashboardApproval": true,
+ "groupName": null
+ },
+ {
+ "matchJsonata": ["isVulnerabilityAlert = true"],
+ "dependencyDashboardApproval": false,
+ "minimumReleaseAge": null,
+ "schedule": [],
+ "prConcurrentLimit": 0,
+ "groupName": null
}
]
}
diff --git a/scripts/ci/README.md b/scripts/ci/README.md
index c0b42b629..0b7be12e9 100644
--- a/scripts/ci/README.md
+++ b/scripts/ci/README.md
@@ -51,9 +51,12 @@ branch protection.
The hosted Mend Renovate GitHub App handles npm and GitHub Actions updates from `renovate.json`.
Routine PR creation is allowed Monday 00:00–06:00 UTC, subject to hosted App availability.
-npm minor and patch updates are grouped; Actions minor, patch, digest, and pin updates are grouped.
-Majors remain separate, Actions retain full SHA pins, and all updates require manual merge.
-PRs generated from GitHub vulnerability alerts bypass the routine schedule; detection and immediate creation of every security fix are not guaranteed.
+Routine npm updates wait seven days and group related package families, with patches and minors on separate branches.
+Unrelated npm updates stay separate; at most three routine dependency PRs remain open at once.
+Majors and replacements require Dependency Dashboard approval before PR creation.
+Actions non-major updates remain grouped, including digest pinning, and retain full SHA pins.
+All updates require manual merge.
+PRs generated from GitHub vulnerability alerts bypass the routine schedule, release-age delay, dashboard approval, and routine PR limit; detection and immediate creation of every security fix are not guaranteed.
Root npm updates include the pnpm workspace/catalog and root lockfile; `tests/e2e`, `scripts/slop-labeler`, and `scripts/ui-review-bot` keep independent locks.
CI frozen-lockfile checks catch inconsistencies.
See the owner cutover steps in [the contribution guide](../../CONTRIBUTING.md#contribution-eligibility).