Skip to content

Commit 82256c5

Browse files
committed
Enable auto-merge in renovate config.
Signed-off-by: Martin Sulikowski <[email protected]>
1 parent 6eb9810 commit 82256c5

File tree

1 file changed

+18
-16
lines changed

1 file changed

+18
-16
lines changed

renovate.json

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"dependencyDashboard": true,
34
"extends": [
45
"config:base"
56
],
@@ -8,43 +9,44 @@
89
"lockFileMaintenance": {
910
"enabled": false
1011
},
12+
"separateMajorMinor": true,
13+
"pruneStaleBranches": true,
14+
"commitMessagePrefix": "dependency:",
1115
"packageRules": [
1216
{
13-
"matchPackagePatterns": ["h2"],
14-
"enabled": false
17+
"groupName": "patch",
18+
"matchPackagePatterns": [
19+
"*"
20+
],
21+
"excludePackagePatterns": ["org.spigotmc*"],
22+
"updateTypes": ["patch"],
23+
"automerge": true
1524
},
1625
{
17-
"groupName": "all minor and patch dependencies",
18-
"groupSlug": "minor-patch",
26+
"groupName": "minor",
1927
"matchPackagePatterns": [
2028
"*"
2129
],
2230
"excludePackagePatterns": ["org.spigotmc*"],
23-
"updateTypes": ["minor", "patch"],
31+
"updateTypes": ["minor"],
2432
"automerge": true
2533
},
2634
{
27-
"groupName": "all major dependencies",
28-
"groupSlug": "major",
35+
"groupName": "all-major",
2936
"matchPackagePatterns": [
3037
"*"
3138
],
39+
"updateTypes": ["major"],
3240
"excludePackagePatterns": ["org.spigotmc*"],
33-
"updateTypes": [
34-
"major"
35-
],
3641
"automerge": false
3742
},
3843
{
39-
"groupName": "spigot dependencies",
40-
"groupSlug": "spigotmc",
44+
"groupName": "spigotmc",
4145
"matchPackagePatterns": [
4246
"org.spigotmc*"
4347
],
48+
"allowedVersions": "/^\\d+\\.\\d+(\\.\\d+)?-R\\d+\\.\\d+-SNAPSHOT$/",
4449
"automerge": false
4550
}
46-
],
47-
"separateMajorMinor": true,
48-
"pruneStaleBranches": true,
49-
"commitMessagePrefix": "[Renovate]"
51+
]
5052
}

0 commit comments

Comments
 (0)