diff --git a/renovate.json b/renovate.json index f56767ea0..d4806ffdc 100644 --- a/renovate.json +++ b/renovate.json @@ -4,26 +4,63 @@ "config:recommended" ], "timezone": "Asia/Tokyo", + "separateMajorMinor": false, + "dependencyDashboardApproval": true, "packageRules": [ { - "groupSlug": "rust", - "groupName": "Rust", - "matchPackagePatterns": [ - "^rust-lang/rust$" - ] + "groupName": "major dependencies", + "matchUpdateTypes": [ + "major" + ], + "dependencyDashboardApproval": false + }, + { + "groupName": "major dependencies", + "matchUpdateTypes": [ + "minor" + ], + "matchCurrentVersion": "/^0\\./", + "dependencyDashboardApproval": false + }, + { + "groupName": "major dependencies", + "matchUpdateTypes": [ + "patch" + ], + "matchCurrentVersion": "/^0\\.0\\./", + "dependencyDashboardApproval": false + }, + { + "groupName": "non-major dependencies", + "matchUpdateTypes": [ + "minor" + ], + "matchCurrentVersion": "!/^0\\./", + "dependencyDashboardApproval": false + }, + { + "groupName": "non-major dependencies", + "matchUpdateTypes": [ + "patch" + ], + "matchCurrentVersion": "!/^0\\.0\\./", + "dependencyDashboardApproval": false }, { - "groupSlug": "others", - "groupName": "Others", - "matchPackagePatterns": [ - "*" + "matchDatasources": [ + "github-runners" ], - "excludePackagePatterns": [ - "^rust-lang/rust$" + "matchPackageNames": [ + "windows", + "macos", + "ubuntu" ], - "dependencyDashboardApproval": true + "enabled": false } ], + "cargo": { + "rangeStrategy": "bump" + }, "customManagers": [ { "customType": "regex",