Skip to content

Commit 4f3c842

Browse files
authored
Update renovate.json5
1 parent 57cd947 commit 4f3c842

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/renovate.json5

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,20 @@
137137
// which package manager should Renovate Bot look to find this dependency?
138138
datasourceTemplate: "golang-version",
139139
versioningTemplate: "npm",
140+
},
141+
{
142+
fileMatch: [
143+
".github/renovate.json5$"
144+
],
145+
matchStrings: [
146+
// named capturing group, must include 'currentValue' as the name
147+
"constraints: {(\\s*\\n\\s*)\"go\":\\s*\"(?<currentValue>.*?)\"
148+
],
149+
// the name of the dependency in the package manager
150+
depNameTemplate: "go",
151+
// which package manager should Renovate Bot look to find this dependency?
152+
datasourceTemplate: "golang-version",
153+
versioningTemplate: "npm",
140154
}
141155
],
142156
packageRules: [

0 commit comments

Comments
 (0)