Skip to content

Commit 3f4c996

Browse files
committed
Add renovate auto-merge.
1 parent 043fd64 commit 3f4c996

File tree

1 file changed

+51
-18
lines changed

1 file changed

+51
-18
lines changed

renovate.json

Lines changed: 51 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,52 @@
11
{
2-
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3-
"extends": [
4-
"config:base"
5-
],
6-
"packageRules": [
7-
{
8-
"matchPackagePatterns": [
9-
"*"
10-
],
11-
"matchUpdateTypes": [
12-
"minor",
13-
"patch"
14-
],
15-
"groupName": "all non-major dependencies",
16-
"groupSlug": "all-minor-patch"
17-
}
18-
]
19-
}
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"dependencyDashboard": true,
4+
"extends": [
5+
"config:base"
6+
],
7+
"groupName": "all dependencies",
8+
"groupSlug": "all",
9+
"lockFileMaintenance": {
10+
"enabled": false
11+
},
12+
"separateMajorMinor": true,
13+
"pruneStaleBranches": true,
14+
"commitMessagePrefix": "dependency:",
15+
"packageRules": [
16+
{
17+
"groupName": "patch",
18+
"matchPackagePatterns": [
19+
"*"
20+
],
21+
"excludePackagePatterns": ["org.spigotmc*", "net.fabricmc*"],
22+
"updateTypes": ["patch"],
23+
"automerge": true
24+
},
25+
{
26+
"groupName": "minor",
27+
"matchPackagePatterns": [
28+
"*"
29+
],
30+
"excludePackagePatterns": ["org.spigotmc*", "net.fabricmc*"],
31+
"updateTypes": ["minor"],
32+
"automerge": true
33+
},
34+
{
35+
"groupName": "all-major",
36+
"matchPackagePatterns": [
37+
"*"
38+
],
39+
"updateTypes": ["major"],
40+
"excludePackagePatterns": ["org.spigotmc*", "net.fabricmc*"],
41+
"automerge": false
42+
},
43+
{
44+
"groupName": "spigotmc",
45+
"matchPackagePatterns": [
46+
"org.spigotmc*"
47+
],
48+
"allowedVersions": "/^\\d+\\.\\d+(\\.\\d+)?-R\\d+\\.\\d+-SNAPSHOT$/",
49+
"automerge": false
50+
}
51+
]
52+
}

0 commit comments

Comments
 (0)