chore(renovate): group all dependency updates into one weekly PR (#38547)

Group updates from all managers into a single `dependencies` group so
monday produces one combined PR instead of one per manager, matching
what is regularly done manually to reduce CI waiting time. The `gomod`
and `npm` rules remain for their `postUpgradeTasks`, which run once on
the combined branch.

Also replace the all-day monday schedule with the `schedule:weekly`
preset (monday 0-4 UTC) so updates whose `minimumReleaseAge` lapses
later in the day wait for the next weekly batch instead of raising a new
PR the same day, as happened in
https://github.com/go-gitea/gitea/pull/38546. `vulnerabilityAlerts` and
the go toolchain rule bypass the schedule as before.
This commit is contained in:
silverwind
2026-07-20 15:01:32 +00:00
committed by GitHub
parent 17ce342dcb
commit b8977eeb47
+7 -25
View File
@@ -1,11 +1,15 @@
{ {
"$schema": "https://docs.renovatebot.com/renovate-schema.json", "$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended", "helpers:pinGitHubActionDigests", "customManagers:githubActionsVersions"], "extends": [
"config:recommended",
"helpers:pinGitHubActionDigests",
"customManagers:githubActionsVersions",
"schedule:weekly", // dependency update PR on monday, vulnerabilityAlerts bypasses this
],
"configMigration": true, "configMigration": true,
"enabledManagers": ["github-actions", "gomod", "npm", "pep621", "nix", "custom.regex", "dockerfile"], "enabledManagers": ["github-actions", "gomod", "npm", "pep621", "nix", "custom.regex", "dockerfile"],
"labels": ["dependencies"], "labels": ["dependencies"],
"branchPrefix": "renovate/", "branchPrefix": "renovate/",
"schedule": ["* * * * 1"], // dependency update PRs weekly, vulnerabilityAlerts bypasses this
"separateMajorMinor": false, // include major updates in group PRs "separateMajorMinor": false, // include major updates in group PRs
"minimumReleaseAge": "5 days", "minimumReleaseAge": "5 days",
"semanticCommits": "enabled", "semanticCommits": "enabled",
@@ -27,12 +31,9 @@
"packageRules": [ "packageRules": [
{ {
"matchPackageNames": ["*"], "matchPackageNames": ["*"],
"groupName": "dependencies", // single weekly PR for all dependency updates
"semanticCommitType": "chore", // dep updates are rarely fixes for gitea "semanticCommitType": "chore", // dep updates are rarely fixes for gitea
}, },
{
"groupName": "action dependencies",
"matchManagers": ["github-actions"],
},
{ {
"matchPackageNames": ["@mcaptcha/vanilla-glue"], "matchPackageNames": ["@mcaptcha/vanilla-glue"],
"allowedVersions": "^0.1", // breaking changes in rc versions need to be handled "allowedVersions": "^0.1", // breaking changes in rc versions need to be handled
@@ -82,7 +83,6 @@
"allowedVersions": "/^2019($|[.-])/", // pin to oldest in extended support "allowedVersions": "/^2019($|[.-])/", // pin to oldest in extended support
}, },
{ {
"groupName": "go dependencies",
"matchManagers": ["gomod"], "matchManagers": ["gomod"],
"postUpdateOptions": ["gomodUpdateImportPaths"], "postUpdateOptions": ["gomodUpdateImportPaths"],
"postUpgradeTasks": { "postUpgradeTasks": {
@@ -95,11 +95,6 @@
"executionMode": "branch", "executionMode": "branch",
}, },
}, },
{
"groupName": "tool dependencies",
"matchManagers": ["custom.regex"],
"matchFileNames": ["**/Makefile"],
},
{ {
"matchManagers": ["gomod"], "matchManagers": ["gomod"],
"matchDepNames": ["go"], "matchDepNames": ["go"],
@@ -109,7 +104,6 @@
"minimumReleaseAge": "0", "minimumReleaseAge": "0",
}, },
{ {
"groupName": "npm dependencies",
"matchManagers": ["npm"], "matchManagers": ["npm"],
"postUpdateOptions": ["pnpmDedupe"], "postUpdateOptions": ["pnpmDedupe"],
"postUpgradeTasks": { "postUpgradeTasks": {
@@ -125,17 +119,5 @@
"executionMode": "branch", "executionMode": "branch",
}, },
}, },
{
"groupName": "python dependencies",
"matchManagers": ["pep621"],
},
{
"groupName": "nix dependencies",
"matchManagers": ["nix"],
},
{
"groupName": "docker dependencies",
"matchManagers": ["dockerfile"],
},
], ],
} }