Skip to content

Commit

Permalink
chore: configure renovate to update git hash
Browse files Browse the repository at this point in the history
Signed-off-by: msclock <[email protected]>
  • Loading branch information
msclock committed Oct 15, 2023
1 parent 0224834 commit de46e27
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
":enablePreCommit"
],
"prHourlyLimit": 0,
"labels": [
"dependencies"
],
"packageRules": [
{
"matchDepTypes": [
"optionalDependencies"
],
"addLabels": [
"optional"
]
}
],
"customManagers": [
{
"description": "Update vcpkg.json registration port with git hash",
"fileMatch": [
"\\.vcpkg\\.json$"
],
"matchStrings": [
"\\s+\"version-string\":\\s+\"(?<currentDigest>.*?)\"[, \\w\\W]+?\"homepage\":\\s+\"https?:\\/\\/[^\\/]+\\/(?<depName>.*?)\\/tree/\\/(?<currentValue>.*?)\""
],
"datasourceTemplate": "git-refs"
}
],
"timezone": "Asia/Shanghai"
}

0 comments on commit de46e27

Please sign in to comment.