Skip to content

Commit 0cc6b7c

Browse files
committed
chore: configure renovate to update vcpkg port
Signed-off-by: msclock <[email protected]>
1 parent 3b9a4cb commit 0cc6b7c

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/renovate.json

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"config:recommended",
5+
":enablePreCommit"
6+
],
7+
"prHourlyLimit": 0,
8+
"labels": [
9+
"dependencies"
10+
],
11+
"customManagers": [
12+
{
13+
"customType": "regex",
14+
"description": "Update vcpkg.json registration port with git hash",
15+
"fileMatch": [
16+
"(\/)\\.vcpkg\\.json$"
17+
],
18+
"matchStrings": [
19+
"\\s+\"version-string\":\\s+\"(?<currentDigest>.*?)\"[\\w\\W]+\"homepage\":\\s\"(?<depName>.*?)\\/tree\\/(?<currentValue>.*?)\""
20+
],
21+
"datasourceTemplate": "git-refs"
22+
},
23+
{
24+
"customType": "regex",
25+
"description": "Update vcpkg.json registration port with semver",
26+
"fileMatch": [
27+
"(\/)\\.vcpkg\\.json$"
28+
],
29+
"matchStrings": [
30+
"\\s+\"version\":\\s+\"(?<currentValue>.*?)\"[\\w\\W]+\"homepage\":\\s\"https:\\/\\/github.com\\/(?<depName>.*?)\""
31+
],
32+
"datasourceTemplate": "git-tags"
33+
}
34+
]
35+
}

0 commit comments

Comments
 (0)