Skip to content

Commit dc3fb0a

Browse files
authored
Make patch updates weekly and group GitHub Actions into single weekly PR (#2695)
1 parent b8046cf commit dc3fb0a

File tree

1 file changed

+62
-50
lines changed

1 file changed

+62
-50
lines changed

.github/renovate.json5

Lines changed: 62 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
'dependencies',
1717
],
1818
packageRules: [
19+
20+
// ── Scheduling & grouping ──────────────────────────────────────────
21+
1922
{
2023
// reduces the number of Renovate PRs
2124
// (patch updates are typically non-breaking)
@@ -24,7 +27,7 @@
2427
'patch',
2528
],
2629
schedule: [
27-
'before 8am every weekday',
30+
'before 8am on Tuesday',
2831
],
2932
},
3033
{
@@ -42,6 +45,20 @@
4245
'!io.opentelemetry.*:**',
4346
],
4447
},
48+
{
49+
// group all GitHub Actions updates into a single weekly PR
50+
// (must be after patch rule so that it wins for GH Action patches)
51+
groupName: 'github actions',
52+
matchManagers: [
53+
'github-actions',
54+
],
55+
schedule: [
56+
'before 8am on Tuesday',
57+
],
58+
},
59+
60+
// ── Version constraints ────────────────────────────────────────────
61+
4562
{
4663
matchPackageNames: [
4764
'io.opentelemetry:**',
@@ -62,6 +79,50 @@
6279
],
6380
allowedVersions: '!/^3\\.0\\.1$/',
6481
},
82+
83+
// ── Package family groups ──────────────────────────────────────────
84+
85+
{
86+
groupName: 'spotless packages',
87+
matchPackageNames: [
88+
'com.diffplug.spotless',
89+
'com.diffplug.spotless:**',
90+
],
91+
},
92+
{
93+
groupName: 'hipparchus packages',
94+
matchPackageNames: [
95+
'org.hipparchus:**',
96+
],
97+
},
98+
{
99+
groupName: 'errorprone packages',
100+
matchPackageNames: [
101+
'com.google.errorprone:**',
102+
],
103+
},
104+
{
105+
groupName: 'jackson packages',
106+
matchPackageNames: [
107+
'com.fasterxml.jackson:**',
108+
'com.fasterxml.jackson.core:**',
109+
],
110+
},
111+
{
112+
groupName: 'develocity packages',
113+
matchPackageNames: [
114+
'com.gradle.develocity:**',
115+
],
116+
},
117+
{
118+
groupName: 'bouncycastle packages',
119+
matchPackageNames: [
120+
'org.bouncycastle:**',
121+
],
122+
},
123+
124+
// ── Disabled updates (Java version compatibility) ──────────────────
125+
65126
{
66127
// disruptor 4+ requires Java 11+
67128
matchFileNames: [
@@ -166,44 +227,6 @@
166227
'org.apache.maven:**',
167228
],
168229
},
169-
{
170-
groupName: 'spotless packages',
171-
matchPackageNames: [
172-
'com.diffplug.spotless',
173-
'com.diffplug.spotless:**',
174-
],
175-
},
176-
{
177-
groupName: 'hipparchus packages',
178-
matchPackageNames: [
179-
'org.hipparchus:**',
180-
],
181-
},
182-
{
183-
groupName: 'errorprone packages',
184-
matchPackageNames: [
185-
'com.google.errorprone:**',
186-
],
187-
},
188-
{
189-
groupName: 'jackson packages',
190-
matchPackageNames: [
191-
'com.fasterxml.jackson:**',
192-
'com.fasterxml.jackson.core:**',
193-
],
194-
},
195-
{
196-
groupName: 'develocity packages',
197-
matchPackageNames: [
198-
'com.gradle.develocity:**',
199-
],
200-
},
201-
{
202-
groupName: 'bouncycastle packages',
203-
matchPackageNames: [
204-
'org.bouncycastle:**',
205-
],
206-
},
207230
{
208231
// pinned version for compatibility with java 8 JFR parsing
209232
matchFileNames: [
@@ -241,17 +264,6 @@
241264
'org.springframework.boot:**',
242265
],
243266
},
244-
{
245-
// group all GitHub Actions updates into a single weekly PR
246-
// (Renovate applies packageRules in order and later rules win)
247-
groupName: 'github actions',
248-
matchManagers: [
249-
'github-actions',
250-
],
251-
schedule: [
252-
'before 8am on Tuesday',
253-
],
254-
},
255267
],
256268
customManagers: [
257269
{

0 commit comments

Comments
 (0)