Skip to content

Commit 3547607

Browse files
authored
chore(renovate): group related dependency cohorts (#471)
- Add grouping for analyzers, build tooling, TUnit, test tooling. - Related packages now arrive in one PR instead of one PR each.
1 parent 6fd596d commit 3547607

1 file changed

Lines changed: 48 additions & 1 deletion

File tree

‎.github/renovate.json‎

Lines changed: 48 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,51 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3-
"extends": ["local>reactiveui/.github:renovate"]
3+
"extends": [
4+
"local>reactiveui/.github:renovate"
5+
],
6+
"packageRules": [
7+
{
8+
"description": "Analyzer packages all gate the build through the same warnings-as-errors pass, so landing them separately just means several red CI runs in a row. Move them in one PR.",
9+
"matchManagers": [
10+
"nuget"
11+
],
12+
"groupName": "analyzers",
13+
"matchPackageNames": [
14+
"/^Roslynator\\./",
15+
"/^stylecop\\.analyzers$/i"
16+
]
17+
},
18+
{
19+
"description": "Packaging, versioning and symbol tooling. These affect how the package is produced, never the shipped API, so they are safe to move as one.",
20+
"matchManagers": [
21+
"nuget"
22+
],
23+
"groupName": "build tooling",
24+
"matchPackageNames": [
25+
"/^MinVer$/",
26+
"/^Microsoft\\.SourceLink\\./"
27+
]
28+
},
29+
{
30+
"description": "Verify.TUnit is built against a specific TUnit version. The shared preset groups TUnit separately from Verify.*, which can split a matched pair across two PRs and red the build; keep them together here.",
31+
"matchManagers": [
32+
"nuget"
33+
],
34+
"groupName": "TUnit",
35+
"matchPackageNames": [
36+
"/^TUnit(\\.|$)/",
37+
"/^Verify\\./"
38+
]
39+
},
40+
{
41+
"description": "Test and benchmark helpers that sit outside the framework cohorts the shared preset already groups.",
42+
"matchManagers": [
43+
"nuget"
44+
],
45+
"groupName": "test tooling",
46+
"matchPackageNames": [
47+
"/^PublicApiGenerator$/"
48+
]
49+
}
50+
]
451
}

0 commit comments

Comments
 (0)
⌂ 换网址