From 0d617f26bbb39fe53130ffebddd7b3537b3a24e1 Mon Sep 17 00:00:00 2001 From: Jason Penilla <11360596+jpenilla@users.noreply.github.com> Date: Thu, 9 Nov 2023 13:36:27 -0700 Subject: [PATCH] Configure renovate --- .github/dependabot.yml | 7 ------- renovate.json | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 7 deletions(-) delete mode 100644 .github/dependabot.yml create mode 100644 renovate.json diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 158f38df..00000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,7 +0,0 @@ -version: 2 - -updates: - - package-ecosystem: "gradle" - directory: "/" - schedule: - interval: "daily" diff --git a/renovate.json b/renovate.json new file mode 100644 index 00000000..a5e5677d --- /dev/null +++ b/renovate.json @@ -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:^(?\\d+)(\\.(?\\d+))?(\\.(?\\d+))?(?:\\+(?.*))?$" + }, + { + "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): " +}