Skip to content

Commit 17ff093

Browse files
chore(config): migrate config .github/renovate.json5
1 parent 78969b3 commit 17ff093

File tree

1 file changed

+23
-33
lines changed

1 file changed

+23
-33
lines changed

.github/renovate.json5

Lines changed: 23 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -5,31 +5,35 @@
55
'helpers:pinGitHubActionDigestsToSemver',
66
],
77
ignorePresets: [
8-
':ignoreModulesAndTests', // needed to keep maven-extension test pom files up-to-date
9-
'workarounds:javaLTSVersions', // Allow all Java major versions, not just LTS
8+
':ignoreModulesAndTests',
9+
'workarounds:javaLTSVersions',
1010
],
11-
prHourlyLimit: 5, // we have a large number of parallel runners
11+
prHourlyLimit: 5,
1212
labels: [
13-
'dependencies'
13+
'dependencies',
1414
],
1515
packageRules: [
1616
{
17-
// reduces the number of Renovate PRs
18-
// (patch updates are typically non-breaking)
19-
"groupName": "all patch versions",
20-
"matchUpdateTypes": ["patch"],
21-
"schedule": ["before 8am every weekday"]
17+
groupName: 'all patch versions',
18+
matchUpdateTypes: [
19+
'patch',
20+
],
21+
schedule: [
22+
'before 8am every weekday',
23+
],
2224
},
2325
{
24-
// avoids these Renovate PRs from trickling in throughout the week
25-
// (consolidating the review process)
26-
"matchUpdateTypes": ["minor", "major"],
27-
"excludePackageNames": [
28-
// want OpenTelemetry package updates right away
29-
'io.opentelemetry:**',
30-
'io.opentelemetry.*:**',
26+
matchUpdateTypes: [
27+
'minor',
28+
'major',
29+
],
30+
schedule: [
31+
'before 8am on Monday',
32+
],
33+
matchPackageNames: [
34+
'!io.opentelemetry:**',
35+
'!io.opentelemetry.*:**',
3136
],
32-
"schedule": ["before 8am on Monday"]
3337
},
3438
{
3539
matchPackageNames: [
@@ -38,20 +42,15 @@
3842
'io.opentelemetry.semconv:**',
3943
'io.opentelemetry.proto:**',
4044
],
41-
// Renovate's default behavior is only to update from unstable -> unstable if it's for the
42-
// major.minor.patch, under the assumption that you would want to update to the stable version
43-
// of that release instead of the unstable version for a future release
4445
ignoreUnstable: false,
4546
},
4647
{
47-
// prevent 3.0.1u2 -> 3.0.1
4848
matchPackageNames: [
4949
'com.google.code.findbugs:annotations',
5050
],
5151
allowedVersions: '!/^3\\.0\\.1$/',
5252
},
5353
{
54-
// disruptor 4+ requires Java 11+
5554
matchPackageNames: [
5655
'com.lmax:disruptor',
5756
],
@@ -61,7 +60,6 @@
6160
enabled: false,
6261
},
6362
{
64-
// junit-pioneer 2+ requires Java 11+
6563
matchPackageNames: [
6664
'org.junit-pioneer:junit-pioneer',
6765
],
@@ -71,7 +69,6 @@
7169
enabled: false,
7270
},
7371
{
74-
// mockito 5+ requires Java 11+
7572
matchUpdateTypes: [
7673
'major',
7774
],
@@ -81,7 +78,6 @@
8178
],
8279
},
8380
{
84-
// agrona 1.23+ requires Java 17+
8581
matchPackageNames: [
8682
'org.agrona:agrona',
8783
],
@@ -92,7 +88,6 @@
9288
enabled: false,
9389
},
9490
{
95-
// system-stubs-jupiter 2.1+ requires Java 11+
9691
matchPackageNames: [
9792
'uk.org.webcompere:system-stubs-jupiter',
9893
],
@@ -103,15 +98,13 @@
10398
enabled: false,
10499
},
105100
{
106-
// pinned version for compatibility
107101
matchPackageNames: [
108102
'io.micrometer:micrometer-core',
109103
],
110104
matchCurrentVersion: '1.5.0',
111105
enabled: false,
112106
},
113107
{
114-
// pinned version for compatibility
115108
matchCurrentVersion: '3.5.0',
116109
enabled: false,
117110
matchPackageNames: [
@@ -137,7 +130,6 @@
137130
],
138131
},
139132
{
140-
// pinned version for compatibility with java 8 JFR parsing
141133
matchUpdateTypes: [
142134
'major',
143135
],
@@ -147,7 +139,6 @@
147139
],
148140
},
149141
{
150-
// pinned version for compatibility
151142
matchFileNames: [
152143
'jmx-scraper/test-webapp/build.gradle.kts',
153144
],
@@ -158,7 +149,6 @@
158149
],
159150
},
160151
{
161-
// intentionally using Spring Boot 2 in gcp-auth-extension in order to test with Java 8+
162152
matchFileNames: [
163153
'gcp-auth-extension/build.gradle.kts',
164154
],
@@ -176,7 +166,7 @@
176166
customType: 'regex',
177167
datasourceTemplate: 'npm',
178168
managerFilePatterns: [
179-
'.github/workflows/**'
169+
'.github/workflows/**',
180170
],
181171
matchStrings: [
182172
'npx (?<depName>[^@]+)@(?<currentValue>[^\\s]+)',
@@ -186,7 +176,7 @@
186176
customType: 'regex',
187177
datasourceTemplate: 'java-version',
188178
managerFilePatterns: [
189-
'.github/workflows/**'
179+
'.github/workflows/**',
190180
],
191181
matchStrings: [
192182
'(?<currentValue>\\d+) # renovate: datasource=java-version',

0 commit comments

Comments
 (0)