From 2132d9fbecdad2246ea9eef60a07ed0c3a951e58 Mon Sep 17 00:00:00 2001 From: Roberto Santalla Date: Wed, 28 Jun 2023 10:51:40 +0200 Subject: [PATCH] renovate: bump golangci version --- .github/renovate.json5 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 529294b0..80691dee 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -5,6 +5,15 @@ ], "gomod": {}, // Upgrade go dependencies. "github-actions": {}, // Upgrade GitHub actions. + "regexManagers": [ + // Custom golangci version in .golangci.yml comment. + { + "fileMatch": [".golangci.ya?ml$"], + "datasourceTemplate": "docker", + "depNameTemplate": "golangci/golangci-lint", + "matchStrings": ["^# (?v[\\w-.]+)"] + } + ], // Renovate evaluates all packageRules and does not stop after the first match. // Rules that appear later in this list override earlier rules. "packageRules": [