Skip to content

Commit

Permalink
Enable auto-merge in renovate config.
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Sulikowski <[email protected]>
  • Loading branch information
vLuckyyy committed Jan 8, 2025
1 parent 6eb9810 commit 82256c5
Showing 1 changed file with 18 additions and 16 deletions.
34 changes: 18 additions & 16 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"dependencyDashboard": true,
"extends": [
"config:base"
],
Expand All @@ -8,43 +9,44 @@
"lockFileMaintenance": {
"enabled": false
},
"separateMajorMinor": true,
"pruneStaleBranches": true,
"commitMessagePrefix": "dependency:",
"packageRules": [
{
"matchPackagePatterns": ["h2"],
"enabled": false
"groupName": "patch",
"matchPackagePatterns": [
"*"
],
"excludePackagePatterns": ["org.spigotmc*"],
"updateTypes": ["patch"],
"automerge": true
},
{
"groupName": "all minor and patch dependencies",
"groupSlug": "minor-patch",
"groupName": "minor",
"matchPackagePatterns": [
"*"
],
"excludePackagePatterns": ["org.spigotmc*"],
"updateTypes": ["minor", "patch"],
"updateTypes": ["minor"],
"automerge": true
},
{
"groupName": "all major dependencies",
"groupSlug": "major",
"groupName": "all-major",
"matchPackagePatterns": [
"*"
],
"updateTypes": ["major"],
"excludePackagePatterns": ["org.spigotmc*"],
"updateTypes": [
"major"
],
"automerge": false
},
{
"groupName": "spigot dependencies",
"groupSlug": "spigotmc",
"groupName": "spigotmc",
"matchPackagePatterns": [
"org.spigotmc*"
],
"allowedVersions": "/^\\d+\\.\\d+(\\.\\d+)?-R\\d+\\.\\d+-SNAPSHOT$/",
"automerge": false
}
],
"separateMajorMinor": true,
"pruneStaleBranches": true,
"commitMessagePrefix": "[Renovate]"
]
}

0 comments on commit 82256c5

Please sign in to comment.