Skip to content

Commit 00f0713

Browse files
authored
chore(config): migrate config renovate.json (googleapis#11560)
1 parent 9e84230 commit 00f0713

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed

renovate.json

+16-11
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
{
22
"extends": [
3-
"config:base"
3+
"config:recommended"
44
],
55
"packageRules": [
66
{
77
"matchUpdateTypes": [
88
"major"
99
],
10-
"matchPackagePatterns": [
10+
"enabled": false,
11+
"matchPackageNames": [
1112
"*"
12-
],
13-
"enabled": false
14-
},
13+
]
14+
},
1515
{
16-
"matchPackagePatterns": [
17-
"^com.google.cloud:sdk-platform-java-config"
18-
],
1916
"semanticCommitType": "fix",
20-
"semanticCommitScope": null
17+
"semanticCommitScope": null,
18+
"matchPackageNames": [
19+
"/^com.google.cloud:sdk-platform-java-config/"
20+
]
2121
}
2222
],
2323
"includePaths": [
@@ -36,8 +36,9 @@
3636
".github/workflows/unmanaged_dependency_check.yaml",
3737
".github/workflows/hermetic_library_generation.yaml"
3838
],
39-
"regexManagers": [
39+
"customManagers": [
4040
{
41+
"customType": "regex",
4142
"fileMatch": [
4243
"^.kokoro/nightly/graalvm-native.*.cfg$",
4344
"^.kokoro/presubmit/graalvm-native.*.cfg$",
@@ -51,6 +52,7 @@
5152
"datasourceTemplate": "maven"
5253
},
5354
{
55+
"customType": "regex",
5456
"fileMatch": [
5557
"java-dns/README.md",
5658
"java-notification/README.md",
@@ -64,6 +66,7 @@
6466
"datasourceTemplate": "maven"
6567
},
6668
{
69+
"customType": "regex",
6770
"fileMatch": [
6871
".github/workflows/ci.yaml",
6972
".github/workflows/generated_files_sync.yaml"
@@ -79,7 +82,9 @@
7982
"fileMatch": [
8083
"^.github/workflows/unmanaged_dependency_check.yaml$"
8184
],
82-
"matchStrings": ["uses: googleapis/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check@google-cloud-shared-dependencies/v(?<currentValue>.+?)\\n"],
85+
"matchStrings": [
86+
"uses: googleapis/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check@google-cloud-shared-dependencies/v(?<currentValue>.+?)\\n"
87+
],
8388
"depNameTemplate": "com.google.cloud:sdk-platform-java-config",
8489
"datasourceTemplate": "maven"
8590
}

0 commit comments

Comments
 (0)