Skip to content

Commit 8aba2b4

Browse files
Migrate renovate config (#21)
* Migrate config .github/renovate.json5 * Keep comment --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Dragomir Penev <[email protected]>
1 parent c7b0383 commit 8aba2b4

File tree

1 file changed

+21
-14
lines changed

1 file changed

+21
-14
lines changed

.github/renovate.json5

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,36 @@
33
extends: [
44
'github>canonical/data-platform//renovate_presets/charm.json5',
55
],
6-
"enabledManagers": ["pep621", "github-actions", "regex"],
6+
enabledManagers: [
7+
'pep621',
8+
'github-actions',
9+
'custom.regex',
10+
],
711
reviewers: [
812
'team:data-postgresql',
913
],
1014
packageRules: [
1115
{
12-
"matchManagers": ["pep621"],
13-
"rangeStrategy": "bump",
14-
"matchJsonata": [
15-
// Don't force version for direct lib deps
16-
"depType = 'dependency-groups' and managerData.depGroup != 'lib'"
16+
matchManagers: [
17+
'pep621',
18+
],
19+
rangeStrategy: 'bump',
20+
matchJsonata: [
21+
// Don't force version for direct lib deps
22+
"depType = 'dependency-groups' and managerData.depGroup != 'lib'",
1723
],
18-
"groupName": "Python dependencies"
24+
groupName: 'Python dependencies',
1925
},
2026
{
21-
"matchManagers": ["pep621"],
22-
"rangeStrategy": "in-range-only",
23-
"matchJsonata": [
24-
"depType = 'dependency-groups' and managerData.depGroup = 'charm-libs'"
27+
matchManagers: [
28+
'pep621',
2529
],
26-
"groupName": "Python dependencies"
30+
rangeStrategy: 'in-range-only',
31+
matchJsonata: [
32+
"depType = 'dependency-groups' and managerData.depGroup = 'charm-libs'",
33+
],
34+
groupName: 'Python dependencies',
2735
},
2836
],
29-
customManagers: [
30-
],
37+
customManagers: [],
3138
}

0 commit comments

Comments
 (0)