Skip to content

Commit 7cb255d

Browse files
committed
chore: fix renovate config managerFilePatterns
1 parent 2c8cb4c commit 7cb255d

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

renovate.json

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@
2828
},
2929
{
3030
"matchManagers": [
31-
"regex"
31+
"custom.regex"
3232
],
3333
"semanticCommitType": "chore",
3434
"matchFileNames": [
35-
"dependencies.txt"
35+
"sdk-platform-java/dependencies.txt"
3636
],
3737
"matchDatasources": [
3838
"maven"
@@ -50,6 +50,7 @@
5050
"java-samples/native-image-sample/pom.xml",
5151
"java-shared-dependencies/first-party-dependencies/pom.xml",
5252
"java-shared-dependencies/third-party-dependencies/pom.xml",
53+
"sdk-platform-java/dependencies.txt",
5354
".kokoro/nightly/graalvm-native*.cfg",
5455
".kokoro/nightly/graalvm-sub-jobs/native*/common.cfg",
5556
".kokoro/presubmit/graalvm-native*.cfg",
@@ -62,7 +63,7 @@
6263
"customManagers": [
6364
{
6465
"customType": "regex",
65-
"managerFilePatterns": [
66+
"fileMatch": [
6667
"/^.kokoro/nightly/graalvm-native.*.cfg$/",
6768
"/^.kokoro/presubmit/graalvm-native.*.cfg$/",
6869
"/^.kokoro/presubmit/*-graalvm-native-presubmit.cfg$/",
@@ -77,7 +78,7 @@
7778
},
7879
{
7980
"customType": "regex",
80-
"managerFilePatterns": [
81+
"fileMatch": [
8182
"/java-dns/README.md/",
8283
"/java-notification/README.md/",
8384
"/java-samples/native-image-sample/pom.xml/",
@@ -91,7 +92,7 @@
9192
},
9293
{
9394
"customType": "regex",
94-
"managerFilePatterns": [
95+
"fileMatch": [
9596
"/.github/workflows/ci.yaml/",
9697
"/.github/workflows/generated_files_sync.yaml/"
9798
],
@@ -103,14 +104,20 @@
103104
},
104105
{
105106
"customType": "regex",
106-
"managerFilePatterns": [
107+
"fileMatch": [
107108
"/^.github/workflows/unmanaged_dependency_check.yaml$/"
108109
],
109110
"matchStrings": [
110111
"uses: googleapis/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check@google-cloud-shared-dependencies/v(?<currentValue>.+?)\\n"
111112
],
112113
"depNameTemplate": "com.google.cloud:sdk-platform-java-config",
113114
"datasourceTemplate": "maven"
115+
},
116+
{
117+
"customType": "regex",
118+
"fileMatch": ["sdk-platform-java/dependencies.txt"],
119+
"matchStrings": ["(?<depName>.*),(.*)=(?<currentValue>.*)"],
120+
"datasourceTemplate": "maven"
114121
}
115122
]
116123
}

0 commit comments

Comments
 (0)