From bba748e8b51b4f9d6201c7946c2fc123716900f5 Mon Sep 17 00:00:00 2001 From: silverwind Date: Fri, 8 May 2026 05:44:10 +0200 Subject: [PATCH] chore(renovate): detect Makefile tools, enable `go` bumps (#37595) - fix detection of Makefile tools and group them separately - Enable `go.mod` `go` directive bumps, schedule it at any time and exempt it from the release-age delay Signed-off-by: silverwind Co-authored-by: Claude (Opus 4.7) --- renovate.json5 | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/renovate.json5 b/renovate.json5 index 3362f52c23..9877976856 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -2,7 +2,7 @@ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": ["config:recommended", "helpers:pinGitHubActionDigests", "customManagers:githubActionsVersions"], "configMigration": true, - "enabledManagers": ["github-actions", "gomod", "npm", "pep621", "nix"], + "enabledManagers": ["github-actions", "gomod", "npm", "pep621", "nix", "custom.regex"], "labels": ["dependencies"], "branchPrefix": "renovate/", "schedule": ["* * * * 1"], // dependency update PRs weekly, vulnerabilityAlerts bypasses this @@ -60,13 +60,26 @@ }, { "groupName": "go dependencies", - "matchDatasources": ["go"], // covers gomod manager + Makefile go-tool customManager + "matchManagers": ["gomod"], "postUpgradeTasks": { "commands": ["make tidy"], "fileFilters": ["go.mod", "go.sum", "assets/go-licenses.json"], "executionMode": "branch", }, }, + { + "groupName": "tool dependencies", + "matchManagers": ["custom.regex"], + "matchFileNames": ["**/Makefile"], + }, + { + "matchManagers": ["gomod"], + "matchDepNames": ["go"], + "matchDepTypes": ["golang"], + "rangeStrategy": "bump", + "schedule": ["at any time"], + "minimumReleaseAge": "0", + }, { "groupName": "npm dependencies", "matchManagers": ["npm"],