Configure renovate

This commit is contained in:
Jason Penilla 2023-11-09 13:36:27 -07:00
parent fda52448c2
commit 0d617f26bb
No known key found for this signature in database
GPG key ID: 0E75A301420E48F8
2 changed files with 37 additions and 7 deletions

37
renovate.json Normal file
View file

@ -0,0 +1,37 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
],
"baseBranches" : [
"/^[0-9].[0-9].[0-9]\\-dev$/"
],
"ignoreDeps": [
"com.mojang:minecraft",
"quiet-fabric-loom"
],
"labels": [
"dependencies"
],
"packageRules": [
{
"description": "Correct version handling for dependencies with format major.minor.patch+mcver",
"matchPackageNames": ["net.fabricmc.fabric-api:fabric-api", "net.fabricmc.fabric-api:fabric-api-deprecated"],
"versioning": "regex:^(?<major>\\d+)(\\.(?<minor>\\d+))?(\\.(?<patch>\\d+))?(?:\\+(?<compatibility>.*))?$"
},
{
"matchManagers": ["github-actions", "gradle-wrapper"],
"groupName": "gradle and github actions"
},
{
"matchDepTypes": ["plugin"],
"groupName": "gradle and github actions"
},
{
"matchPaths": ["build-logic/*", "buildSrc/*"],
"groupName": "gradle and github actions"
}
],
"semanticCommitType": "build",
"commitMessagePrefix": "chore(deps): "
}