Skip to content

Commit 36743b0

Browse files
renovate[bot]trask
andauthored
chore(config): migrate renovate config (#219)
* chore(config): migrate config .github/renovate.json5 * bring back comments --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Trask Stalnaker <[email protected]>
1 parent eebe59d commit 36743b0

File tree

1 file changed

+28
-22
lines changed

1 file changed

+28
-22
lines changed

.github/renovate.json5

Lines changed: 28 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,40 @@
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 by consolidating them into a weekly batch
10-
"matchManagers": ["github-actions"],
11-
"extends": ["schedule:weekly"],
12-
"groupName": "github actions"
10+
matchManagers: [
11+
'github-actions',
12+
],
13+
extends: [
14+
'schedule:weekly',
15+
],
16+
groupName: 'github actions',
1317
},
1418
{
1519
// pin opentelemetry-api dependency to: avoid churn, for conservative api version requirement,
1620
// and because opentelemetry-api is a compileOnly dependency
17-
"matchPackageNames": ["io.opentelemetry:opentelemetry-api"],
18-
"matchCurrentVersion": "1.33.0",
19-
"enabled": false
20-
}
21+
matchPackageNames: [
22+
'io.opentelemetry:opentelemetry-api',
23+
],
24+
matchCurrentVersion: '1.33.0',
25+
enabled: false,
26+
},
2127
],
22-
"customManagers": [
28+
customManagers: [
2329
{
24-
"customType": "regex",
25-
"datasourceTemplate": "docker",
26-
"fileMatch": [
27-
"^build.gradle.kts$"
30+
customType: 'regex',
31+
datasourceTemplate: 'docker',
32+
managerFilePatterns: [
33+
'/^build.gradle.kts$/',
2834
],
29-
"matchStrings": [
30-
"\"(?<depName>otel/weaver):(?<currentValue>[^\"]+)\""
31-
]
32-
}
33-
]
35+
matchStrings: [
36+
'"(?<depName>otel/weaver):(?<currentValue>[^"]+)"',
37+
],
38+
},
39+
],
3440
}

0 commit comments

Comments
 (0)