From a16301462c87134d0ca2aea731b5cca56b315e83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9cile=20Vuilleumier?= Date: Wed, 18 Dec 2024 09:17:47 +0100 Subject: [PATCH] Migrate renovate config --- .github/renovate.json5 | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index d2dbbf3..c02eb16 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -1,5 +1,5 @@ { - extends: ["config:base"], + extends: ["config:recommended"], timezone: "Europe/Zurich", schedule: "after 5pm on the first day of the month", labels: ["dependencies"], @@ -14,9 +14,10 @@ }, baseBranches: ["master"], "pre-commit": { enabled: true }, - regexManagers: [ + customManagers: [ /** Do updates on pre-commit additional dependencies */ { + customType: "regex", fileMatch: ["^\\.pre\\-commit\\-config\\.yaml$"], matchStrings: [ " +- '?(?[^' @=]+)(@|==)(?[^' @=]+)'? # (?.+)", @@ -43,10 +44,10 @@ }, /** Group Poetry packages */ { - matchPackagePrefixes: ["poetry-"], groupName: "Poetry", automerge: true, matchDepNames: ["poetry", "pip"], + matchPackageNames: ["poetry-{/,}**"], }, /** Accept only the patch on stabilization branches */ { @@ -69,7 +70,7 @@ }, /** Disable update of Python version in pyproject.toml */ { - matchFiles: ["pyproject.toml"], + matchFileNames: ["pyproject.toml"], enabled: false, matchDepNames: ["python"], },