From fca6cc60f3d70a62522848e5d178bcaaeed2624c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 29 Sep 2025 20:41:36 +0000 Subject: [PATCH 1/2] Migrate config .github/renovate.json5 --- .github/renovate.json5 | 34 ++++++++++++++++++++-------------- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index d332eeb..b6d7d31 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -3,29 +3,35 @@ extends: [ 'github>canonical/data-platform//renovate_presets/charm.json5', ], - "enabledManagers": ["pep621", "github-actions", "regex"], + enabledManagers: [ + 'pep621', + 'github-actions', + 'custom.regex', + ], reviewers: [ 'team:data-postgresql', ], packageRules: [ { - "matchManagers": ["pep621"], - "rangeStrategy": "bump", - "matchJsonata": [ - // Don't force version for direct lib deps - "depType = 'dependency-groups' and managerData.depGroup != 'lib'" + matchManagers: [ + 'pep621', + ], + rangeStrategy: 'bump', + matchJsonata: [ + "depType = 'dependency-groups' and managerData.depGroup != 'lib'", ], - "groupName": "Python dependencies" + groupName: 'Python dependencies', }, { - "matchManagers": ["pep621"], - "rangeStrategy": "in-range-only", - "matchJsonata": [ - "depType = 'dependency-groups' and managerData.depGroup = 'charm-libs'" + matchManagers: [ + 'pep621', ], - "groupName": "Python dependencies" + rangeStrategy: 'in-range-only', + matchJsonata: [ + "depType = 'dependency-groups' and managerData.depGroup = 'charm-libs'", + ], + groupName: 'Python dependencies', }, ], - customManagers: [ - ], + customManagers: [], } From 37c993ec4cf3314b16b7333637e694b387df92f2 Mon Sep 17 00:00:00 2001 From: Dragomir Penev Date: Mon, 29 Sep 2025 23:47:12 +0300 Subject: [PATCH 2/2] Keep comment --- .github/renovate.json5 | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index b6d7d31..87539d0 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -18,6 +18,7 @@ ], rangeStrategy: 'bump', matchJsonata: [ + // Don't force version for direct lib deps "depType = 'dependency-groups' and managerData.depGroup != 'lib'", ], groupName: 'Python dependencies',