Skip to content

Commit c874197

Browse files
renovate[bot]trask
andauthored
chore(config): migrate renovate config (#7351)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Trask Stalnaker <[email protected]>
1 parent d41c099 commit c874197

File tree

1 file changed

+51
-32
lines changed

1 file changed

+51
-32
lines changed

.github/renovate.json5

Lines changed: 51 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,78 @@
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
{
99
// this is to reduce the number of renovate PRs
10-
"matchManagers": [
11-
"github-actions",
12-
"dockerfile"
10+
matchManagers: [
11+
'github-actions',
12+
'dockerfile',
1313
],
14-
"extends": ["schedule:weekly"],
15-
"groupName": "weekly update"
14+
extends: [
15+
'schedule:weekly',
16+
],
17+
groupName: 'weekly update',
1618
},
1719
{
18-
"matchPackageNames": [
19-
"io.opentelemetry.contrib:opentelemetry-aws-xray-propagator",
20-
"io.opentelemetry.proto:opentelemetry-proto",
21-
"io.opentelemetry.semconv:opentelemetry-semconv-incubating"
20+
matchPackageNames: [
21+
'io.opentelemetry.contrib:opentelemetry-aws-xray-propagator',
22+
'io.opentelemetry.proto:opentelemetry-proto',
23+
'io.opentelemetry.semconv:opentelemetry-semconv-incubating',
2224
],
2325
// Renovate's default behavior is only to update from unstable -> unstable if it's for the
2426
// major.minor.patch, under the assumption that you would want to update to the stable version
2527
// of that release instead of the unstable version for a future release
2628
// (TODO remove once the artifacts above release stable versions)
27-
"ignoreUnstable": false,
28-
"allowedVersions": "!/\\-SNAPSHOT$/"
29+
ignoreUnstable: false,
30+
allowedVersions: '!/\\-SNAPSHOT$/',
2931
},
3032
{
3133
// junit-pioneer 2+ requires Java 11+
32-
"matchPackageNames": ["org.junit-pioneer:junit-pioneer"],
33-
"matchUpdateTypes": ["major"],
34-
"enabled": false
34+
matchPackageNames: [
35+
'org.junit-pioneer:junit-pioneer',
36+
],
37+
matchUpdateTypes: [
38+
'major',
39+
],
40+
enabled: false,
3541
},
3642
{
3743
// mockito 5+ requires Java 11+
38-
"matchPackagePrefixes": ["org.mockito:"],
39-
"matchUpdateTypes": ["major"],
40-
"enabled": false
44+
matchUpdateTypes: [
45+
'major',
46+
],
47+
enabled: false,
48+
matchPackageNames: [
49+
'org.mockito:{/,}**',
50+
],
4151
},
4252
{
4353
// jqf-fuzz version 1.8+ requires Java 11+
44-
"matchPackageNames": ["edu.berkeley.cs.jqf:jqf-fuzz"],
45-
"matchUpdateTypes": ["major", "minor"],
46-
"enabled": false
54+
matchPackageNames: [
55+
'edu.berkeley.cs.jqf:jqf-fuzz',
56+
],
57+
matchUpdateTypes: [
58+
'major',
59+
'minor',
60+
],
61+
enabled: false,
4762
},
4863
{
4964
// pinned version for compatibility
50-
"matchPackageNames": ["org.jetbrains.kotlinx:kotlinx-coroutines-core"],
51-
"matchCurrentVersion": "1.5.2",
52-
"enabled": false
65+
matchPackageNames: [
66+
'org.jetbrains.kotlinx:kotlinx-coroutines-core',
67+
],
68+
matchCurrentVersion: '1.5.2',
69+
enabled: false,
5370
},
5471
{
55-
"matchPackagePrefixes": ["com.diffplug.spotless"],
56-
"groupName": "spotless packages"
57-
}
58-
]
72+
groupName: 'spotless packages',
73+
matchPackageNames: [
74+
'com.diffplug.spotless{/,}**',
75+
],
76+
},
77+
],
5978
}

0 commit comments

Comments
 (0)