Skip to content

Commit

Permalink
Add renovate auto-merge.
Browse files Browse the repository at this point in the history
  • Loading branch information
vLuckyyy committed Dec 29, 2024
1 parent 043fd64 commit 3f4c996
Showing 1 changed file with 51 additions and 18 deletions.
69 changes: 51 additions & 18 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -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"
}
]
}
"$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
}
]
}

0 comments on commit 3f4c996

Please sign in to comment.