Skip to content

Commit 60300e1

Browse files
chore(config): migrate config .github/renovate.json5
1 parent 6bd13ff commit 60300e1

File tree

1 file changed

+52
-42
lines changed

1 file changed

+52
-42
lines changed

.github/renovate.json5

Lines changed: 52 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,69 @@
11
{
2-
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3-
"extends": [
4-
"config:best-practices",
5-
"helpers:pinGitHubActionDigestsToSemver"
2+
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
3+
extends: [
4+
'config:best-practices',
5+
'helpers:pinGitHubActionDigestsToSemver',
66
],
7-
"packageRules": [
7+
packageRules: [
88
{
9-
// this is to reduce the number of renovate PRs
10-
"matchManagers": [
11-
"github-actions",
12-
"dockerfile"
9+
matchManagers: [
10+
'github-actions',
11+
'dockerfile',
1312
],
14-
"extends": ["schedule:weekly"],
15-
"groupName": "weekly update"
13+
extends: [
14+
'schedule:weekly',
15+
],
16+
groupName: 'weekly update',
1617
},
1718
{
18-
"matchPackageNames": [
19-
"io.opentelemetry.contrib:opentelemetry-aws-xray-propagator",
20-
"io.opentelemetry.proto:opentelemetry-proto",
21-
"io.opentelemetry.semconv:opentelemetry-semconv-incubating"
22-
],
23-
// Renovate's default behavior is only to update from unstable -> unstable if it's for the
24-
// major.minor.patch, under the assumption that you would want to update to the stable version
25-
// of that release instead of the unstable version for a future release
26-
// (TODO remove once the artifacts above release stable versions)
27-
"ignoreUnstable": false,
28-
"allowedVersions": "!/\\-SNAPSHOT$/"
19+
matchPackageNames: [
20+
'io.opentelemetry.contrib:opentelemetry-aws-xray-propagator',
21+
'io.opentelemetry.proto:opentelemetry-proto',
22+
'io.opentelemetry.semconv:opentelemetry-semconv-incubating',
23+
],
24+
ignoreUnstable: false,
25+
allowedVersions: '!/\\-SNAPSHOT$/',
2926
},
3027
{
31-
// junit-pioneer 2+ requires Java 11+
32-
"matchPackageNames": ["org.junit-pioneer:junit-pioneer"],
33-
"matchUpdateTypes": ["major"],
34-
"enabled": false
28+
matchPackageNames: [
29+
'org.junit-pioneer:junit-pioneer',
30+
],
31+
matchUpdateTypes: [
32+
'major',
33+
],
34+
enabled: false,
3535
},
3636
{
37-
// mockito 5+ requires Java 11+
38-
"matchPackagePrefixes": ["org.mockito:"],
39-
"matchUpdateTypes": ["major"],
40-
"enabled": false
37+
matchUpdateTypes: [
38+
'major',
39+
],
40+
enabled: false,
41+
matchPackageNames: [
42+
'org.mockito:{/,}**',
43+
],
4144
},
4245
{
43-
// jqf-fuzz version 1.8+ requires Java 11+
44-
"matchPackageNames": ["edu.berkeley.cs.jqf:jqf-fuzz"],
45-
"matchUpdateTypes": ["major", "minor"],
46-
"enabled": false
46+
matchPackageNames: [
47+
'edu.berkeley.cs.jqf:jqf-fuzz',
48+
],
49+
matchUpdateTypes: [
50+
'major',
51+
'minor',
52+
],
53+
enabled: false,
4754
},
4855
{
49-
// pinned version for compatibility
50-
"matchPackageNames": ["org.jetbrains.kotlinx:kotlinx-coroutines-core"],
51-
"matchCurrentVersion": "1.5.2",
52-
"enabled": false
56+
matchPackageNames: [
57+
'org.jetbrains.kotlinx:kotlinx-coroutines-core',
58+
],
59+
matchCurrentVersion: '1.5.2',
60+
enabled: false,
5361
},
5462
{
55-
"matchPackagePrefixes": ["com.diffplug.spotless"],
56-
"groupName": "spotless packages"
57-
}
58-
]
63+
groupName: 'spotless packages',
64+
matchPackageNames: [
65+
'com.diffplug.spotless{/,}**',
66+
],
67+
},
68+
],
5969
}

0 commit comments

Comments
 (0)