From 4fd0fdcc994cb8bdab4ccce6f70d9b8da9ea66d2 Mon Sep 17 00:00:00 2001 From: Ryo Yamashita Date: Thu, 26 Sep 2024 15:48:06 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20=E3=81=99=E3=81=B9=E3=81=A6=E3=81=AE?= =?UTF-8?q?=E4=BE=9D=E5=AD=98=E3=82=92Renovate=E3=81=AE=E5=AF=BE=E8=B1=A1?= =?UTF-8?q?=E3=81=AB=E3=81=99=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- renovate.json | 61 +++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 49 insertions(+), 12 deletions(-) diff --git a/renovate.json b/renovate.json index f56767ea0..82984150d 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",