Skip to content

Commit 7ce541f

Browse files
chore(config): migrate renovate config (#4992)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Pierre Millot <[email protected]>
1 parent 39a52c2 commit 7ce541f

File tree

1 file changed

+50
-26
lines changed

1 file changed

+50
-26
lines changed

renovate.json

Lines changed: 50 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@
5757
{
5858
"customType": "regex",
5959
"description": "Update openapitools-cli version in the generation file",
60-
"fileMatch": [
61-
"generateOpenapitools.ts"
60+
"managerFilePatterns": [
61+
"/generateOpenapitools.ts/"
6262
],
6363
"matchStrings": [
6464
"\\sversion: '(?<currentValue>.*?)',?\\s"
@@ -69,8 +69,8 @@
6969
{
7070
"customType": "regex",
7171
"description": "Update pyproject.toml mustache devDeps",
72-
"fileMatch": [
73-
"pyproject.mustache"
72+
"managerFilePatterns": [
73+
"/pyproject.mustache/"
7474
],
7575
"matchStrings": [
7676
"dependencies][^[]*",
@@ -82,8 +82,8 @@
8282
{
8383
"customType": "regex",
8484
"description": "Update package.json mustache devDeps",
85-
"fileMatch": [
86-
"package.mustache"
85+
"managerFilePatterns": [
86+
"/package.mustache/"
8787
],
8888
"matchStrings": [
8989
"\"(?<depName>.*?)\":\\s*\"(?<currentValue>\\d+.*?)\""
@@ -93,9 +93,9 @@
9393
{
9494
"customType": "regex",
9595
"description": "Update the java formatter",
96-
"fileMatch": [
97-
"Dockerfile",
98-
".github/actions/setup/action.yml"
96+
"managerFilePatterns": [
97+
"/Dockerfile/",
98+
"/.github/actions/setup/action.yml/"
9999
],
100100
"matchStrings": [
101101
"google-java-format/releases/download/v(?<currentValue>.*?)/google-java-format-",
@@ -108,7 +108,9 @@
108108
{
109109
"customType": "regex",
110110
"description": "Update java packages in mustache files",
111-
"fileMatch": "build.mustache",
111+
"managerFilePatterns": [
112+
"/build.mustache/"
113+
],
112114
"matchStrings": [
113115
"testImplementation '(?<depName>.*):(?<currentValue>\\d.*?)'"
114116
],
@@ -117,7 +119,9 @@
117119
{
118120
"customType": "regex",
119121
"description": "Update yarn version",
120-
"fileMatch": ".yarnrc.yml",
122+
"managerFilePatterns": [
123+
"/.yarnrc.yml/"
124+
],
121125
"matchStrings": [
122126
".yarn/releases/yarn-(?<currentValue>.*?)\\.cjs"
123127
],
@@ -127,7 +131,9 @@
127131
{
128132
"customType": "regex",
129133
"description": "Update yarn for netlify",
130-
"fileMatch": "netlify.toml",
134+
"managerFilePatterns": [
135+
"/netlify.toml/"
136+
],
131137
"matchStrings": [
132138
"YARN_VERSION\\s*=\\s*\"(?<currentValue>.*?)\""
133139
],
@@ -137,7 +143,9 @@
137143
{
138144
"customType": "regex",
139145
"description": "Update pubspec.yaml for Dart",
140-
"fileMatch": "pubspec.mustache",
146+
"managerFilePatterns": [
147+
"/pubspec.mustache/"
148+
],
141149
"matchStrings": [
142150
"(dev_)?dependencies:\\s*[^$]*",
143151
" (?<depName>[a-z_]+?): (?<currentValue>.*?)\n"
@@ -149,7 +157,9 @@
149157
{
150158
"customType": "regex",
151159
"description": "Update .csharp-version",
152-
"fileMatch": ".csharp-version",
160+
"managerFilePatterns": [
161+
"/.csharp-version/"
162+
],
153163
"matchStrings": [
154164
"(?<currentValue>.*)"
155165
],
@@ -159,7 +169,9 @@
159169
{
160170
"customType": "regex",
161171
"description": "Update .java-version",
162-
"fileMatch": ".java-version",
172+
"managerFilePatterns": [
173+
"/.java-version/"
174+
],
163175
"matchStrings": [
164176
"(?<currentValue>.*)"
165177
],
@@ -169,7 +181,9 @@
169181
{
170182
"customType": "regex",
171183
"description": "Update .dart-version",
172-
"fileMatch": ".dart-version",
184+
"managerFilePatterns": [
185+
"/.dart-version/"
186+
],
173187
"matchStrings": [
174188
"(?<currentValue>.*)"
175189
],
@@ -179,7 +193,9 @@
179193
{
180194
"customType": "regex",
181195
"description": "Update .go-version",
182-
"fileMatch": ".go-version",
196+
"managerFilePatterns": [
197+
"/.go-version/"
198+
],
183199
"matchStrings": [
184200
"(?<currentValue>.*)"
185201
],
@@ -189,7 +205,9 @@
189205
{
190206
"customType": "regex",
191207
"description": "Update .php-version",
192-
"fileMatch": ".php-version",
208+
"managerFilePatterns": [
209+
"/.php-version/"
210+
],
193211
"matchStrings": [
194212
"(?<currentValue>.*)"
195213
],
@@ -200,7 +218,9 @@
200218
{
201219
"customType": "regex",
202220
"description": "Update .ruby-version",
203-
"fileMatch": ".ruby-version",
221+
"managerFilePatterns": [
222+
"/.ruby-version/"
223+
],
204224
"matchStrings": [
205225
"(?<currentValue>.*)"
206226
],
@@ -210,7 +230,9 @@
210230
{
211231
"customType": "regex",
212232
"description": "Update ruby version on CI",
213-
"fileMatch": "clients/algoliasearch-client-ruby/.github/workflows/release.yml",
233+
"managerFilePatterns": [
234+
"/clients/algoliasearch-client-ruby/.github/workflows/release.yml/"
235+
],
214236
"matchStrings": [
215237
"ruby-version: (?<currentValue>.*)"
216238
],
@@ -220,7 +242,9 @@
220242
{
221243
"customType": "regex",
222244
"description": "Update .swift-version",
223-
"fileMatch": ".swift-version",
245+
"managerFilePatterns": [
246+
"/.swift-version/"
247+
],
224248
"matchStrings": [
225249
"(?<currentValue>.*)"
226250
],
@@ -231,9 +255,9 @@
231255
{
232256
"customType": "regex",
233257
"description": "Update swiftformat version",
234-
"fileMatch": [
235-
"Dockerfile",
236-
".github/actions/setup/action.yml"
258+
"managerFilePatterns": [
259+
"/Dockerfile/",
260+
"/.github/actions/setup/action.yml/"
237261
],
238262
"matchStrings": [
239263
"SWIFTFORMAT_VERSION=(?<currentValue>\\d+\\.\\d+\\.\\d+)"
@@ -243,8 +267,8 @@
243267
}
244268
],
245269
"github-actions": {
246-
"fileMatch": [
247-
"\\.github/workflows/.*\\.ya?ml$"
270+
"managerFilePatterns": [
271+
"/\\.github/workflows/.*\\.ya?ml$/"
248272
]
249273
},
250274
"ignorePaths": [

0 commit comments

Comments
 (0)