Skip to content

Commit 1962491

Browse files
authored
chore: Group upper bound dependencies file deps (#3941)
Tested in lqiu96#22 These rules need to be added to the end as renovate `packageRules` configurations are `mergeable`. This means that it scans the rules top-down and each subsequent matching rules gets its configurations overwritten. This tries to make it so that only the `dependencies.txt` are in its own file.
1 parent 4223a86 commit 1962491

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

renovate.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"customManagers": [
1313
{
1414
"customType": "regex",
15-
"managerFilePatterns": ["/^dependencies\\.txt$/"],
15+
"fileMatch": ["dependencies.txt"],
1616
"matchStrings": ["(?<depName>.*),(.*)=(?<currentValue>.*)"],
1717
"datasourceTemplate": "maven"
1818
},
@@ -216,6 +216,15 @@
216216
"matchPackageNames": [
217217
"/^com.google.errorprone/"
218218
]
219+
},
220+
{
221+
"matchManagers": [
222+
"regex"
223+
],
224+
"matchFileNames": ["dependencies.txt"],
225+
"matchDatasources": ["maven"],
226+
"groupName": "Upper Bound Dependencies File",
227+
"description": "Group all dependencies from the Upper Bound Dependencies File"
219228
}
220229
]
221230
}

0 commit comments

Comments
 (0)