Skip to content

Commit

Permalink
Update renovate.json5
Browse files Browse the repository at this point in the history
  • Loading branch information
ido-namely authored Aug 10, 2022
1 parent 57cd947 commit 4f3c842
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,20 @@
// which package manager should Renovate Bot look to find this dependency?
datasourceTemplate: "golang-version",
versioningTemplate: "npm",
},
{
fileMatch: [
".github/renovate.json5$"
],
matchStrings: [
// named capturing group, must include 'currentValue' as the name
"constraints: {(\\s*\\n\\s*)\"go\":\\s*\"(?<currentValue>.*?)\"
],
// the name of the dependency in the package manager
depNameTemplate: "go",
// which package manager should Renovate Bot look to find this dependency?
datasourceTemplate: "golang-version",
versioningTemplate: "npm",
}
],
packageRules: [
Expand Down

0 comments on commit 4f3c842

Please sign in to comment.