diff --git a/renovate.json b/renovate.json index f2bb0c3..d52accb 100644 --- a/renovate.json +++ b/renovate.json @@ -1,19 +1,52 @@ { - "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": [ - "config:base" - ], - "packageRules": [ - { - "matchPackagePatterns": [ - "*" - ], - "matchUpdateTypes": [ - "minor", - "patch" - ], - "groupName": "all non-major dependencies", - "groupSlug": "all-minor-patch" - } - ] -} \ No newline at end of file + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "dependencyDashboard": true, + "extends": [ + "config:base" + ], + "groupName": "all dependencies", + "groupSlug": "all", + "lockFileMaintenance": { + "enabled": false + }, + "separateMajorMinor": true, + "pruneStaleBranches": true, + "commitMessagePrefix": "dependency:", + "packageRules": [ + { + "groupName": "patch", + "matchPackagePatterns": [ + "*" + ], + "excludePackagePatterns": ["org.spigotmc*", "net.fabricmc*"], + "updateTypes": ["patch"], + "automerge": true + }, + { + "groupName": "minor", + "matchPackagePatterns": [ + "*" + ], + "excludePackagePatterns": ["org.spigotmc*", "net.fabricmc*"], + "updateTypes": ["minor"], + "automerge": true + }, + { + "groupName": "all-major", + "matchPackagePatterns": [ + "*" + ], + "updateTypes": ["major"], + "excludePackagePatterns": ["org.spigotmc*", "net.fabricmc*"], + "automerge": false + }, + { + "groupName": "spigotmc", + "matchPackagePatterns": [ + "org.spigotmc*" + ], + "allowedVersions": "/^\\d+\\.\\d+(\\.\\d+)?-R\\d+\\.\\d+-SNAPSHOT$/", + "automerge": false + } + ] +}