diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 0a5f518d69..0000000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,12 +0,0 @@ -version: 2 -updates: - - package-ecosystem: "maven" - directory: "/" - schedule: - interval: "weekly" - open-pull-requests-limit: 5 - # Maintain dependencies for GitHub Actions - - package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "weekly" diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000000..a0742c244b --- /dev/null +++ b/renovate.json @@ -0,0 +1,57 @@ +{ + "enabled": true, + "schedule": [ + "before 4am on Monday" + ], + "packageRules": [ + { + "managers": ["github-actions"], + "groupName": "all github actions", + "groupSlug": "all-github-actions" + }, + { + "managers": ["maven"], + "matchPackagePatterns": [ + "*" + ], + "excludePackagePatterns": [ + "^org\\.jetbrains\\.kotlin[.:]", + "^com\\.pinterest\\.ktlint[.:]" + ], + "matchUpdateTypes": [ + "minor", + "patch" + ], + "groupName": "all non-major dependencies (except core Kotlin)", + "groupSlug": "all-minor-patch" + }, + { + "managers": ["maven"], + "matchPackagePatterns": [ + "^org\\.jetbrains\\.kotlin[.:]" + ], + "groupName": "Kotlin core dependencies", + "groupSlug": "core-kotlin" + }, + { + "managers": ["maven"], + "matchPackagePatterns": [ + "^com\\.pinterest\\.ktlint[.:]" + ], + "groupName": "Ktlint", + "groupSlug": "ktlint" + }, + { + "managers": ["gradle"], + "matchPackagePatterns": [ + "*" + ], + "matchUpdateTypes": [ + "minor", + "patch" + ], + "groupName": "all dependencies in gradle scripts", + "groupSlug": "all-gradle-dependencies" + } + ] +}