From 4f3c8422c7512aea09ec24051cf522e0a38dc2dd Mon Sep 17 00:00:00 2001 From: Ido David <36866853+ido-namely@users.noreply.github.com> Date: Wed, 10 Aug 2022 09:28:37 -0400 Subject: [PATCH] Update renovate.json5 --- .github/renovate.json5 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 3f451d04..889f4ba0 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -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*\"(?.*?)\" + ], + // 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: [