Skip to content

Commit 16572ed

Browse files
chore(config): migrate config renovate.json
1 parent f8bbe09 commit 16572ed

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

renovate.json

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,24 +28,34 @@
2828
"customManagers": [
2929
{
3030
"customType": "regex",
31-
"fileMatch": ["\\.cmake$"],
31+
"managerFilePatterns": [
32+
"/\\.cmake$/"
33+
],
3234
"matchStrings": [
3335
"datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\s*set\\(.*_VERSION\\s*(?<currentValue>.*?)\\)\\s"
3436
]
3537
},
3638
{
3739
"customType": "regex",
38-
"fileMatch": ["^\\.github/workflows/.+\\.yml$"],
39-
"matchStrings": ["vcpkgGitCommitId:\\s*(?<currentDigest>.*?)\\n"],
40+
"managerFilePatterns": [
41+
"/^\\.github/workflows/.+\\.yml$/"
42+
],
43+
"matchStrings": [
44+
"vcpkgGitCommitId:\\s*(?<currentDigest>.*?)\\n"
45+
],
4046
"currentValueTemplate": "master",
4147
"depNameTemplate": "vcpkg",
4248
"packageNameTemplate": "https://github.com/microsoft/vcpkg",
4349
"datasourceTemplate": "git-refs"
4450
},
4551
{
4652
"customType": "regex",
47-
"fileMatch": ["^\\.github/workflows/.+\\.yml$"],
48-
"matchStrings": ["versioning=(?<versioning>.*?)\\n\\s*repository:\\s*(?<depName>.*?)\\n\\s*ref:\\s*(?<currentValue>.*?)\\n"],
53+
"managerFilePatterns": [
54+
"/^\\.github/workflows/.+\\.yml$/"
55+
],
56+
"matchStrings": [
57+
"versioning=(?<versioning>.*?)\\n\\s*repository:\\s*(?<depName>.*?)\\n\\s*ref:\\s*(?<currentValue>.*?)\\n"
58+
],
4959
"datasourceTemplate": "github-tags"
5060
}
5161
]

0 commit comments

Comments
 (0)