0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-05-11 13:35:24 +02:00

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 <me@silverwind.io>
Co-authored-by: Claude (Opus 4.7) <noreply@anthropic.com>
This commit is contained in:
silverwind 2026-05-08 05:44:10 +02:00 committed by GitHub
parent 2b93eaf55b
commit bba748e8b5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,7 +2,7 @@
"$schema": "https://docs.renovatebot.com/renovate-schema.json", "$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended", "helpers:pinGitHubActionDigests", "customManagers:githubActionsVersions"], "extends": ["config:recommended", "helpers:pinGitHubActionDigests", "customManagers:githubActionsVersions"],
"configMigration": true, "configMigration": true,
"enabledManagers": ["github-actions", "gomod", "npm", "pep621", "nix"], "enabledManagers": ["github-actions", "gomod", "npm", "pep621", "nix", "custom.regex"],
"labels": ["dependencies"], "labels": ["dependencies"],
"branchPrefix": "renovate/", "branchPrefix": "renovate/",
"schedule": ["* * * * 1"], // dependency update PRs weekly, vulnerabilityAlerts bypasses this "schedule": ["* * * * 1"], // dependency update PRs weekly, vulnerabilityAlerts bypasses this
@ -60,13 +60,26 @@
}, },
{ {
"groupName": "go dependencies", "groupName": "go dependencies",
"matchDatasources": ["go"], // covers gomod manager + Makefile go-tool customManager "matchManagers": ["gomod"],
"postUpgradeTasks": { "postUpgradeTasks": {
"commands": ["make tidy"], "commands": ["make tidy"],
"fileFilters": ["go.mod", "go.sum", "assets/go-licenses.json"], "fileFilters": ["go.mod", "go.sum", "assets/go-licenses.json"],
"executionMode": "branch", "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", "groupName": "npm dependencies",
"matchManagers": ["npm"], "matchManagers": ["npm"],