mirror of
https://github.com/go-gitea/gitea.git
synced 2026-09-22 20:53:40 +09:00
ci(renovate): update Go import paths on major bumps (#37641)
Enable `gomodUpdateImportPaths` so Renovate rewrites import paths (e.g. `foo/v2` → `foo/v3`) across the repo when bumping Go modules across major versions. --- This PR was written with the help of Claude Opus 4.7 Co-authored-by: Claude (Opus 4.7) <noreply@anthropic.com> Co-authored-by: Nicolas <bircni@icloud.com>
This commit is contained in:
co-authored by
Claude
Nicolas
parent
5d87a70af9
commit
b29af98a36
@@ -61,6 +61,7 @@
|
|||||||
{
|
{
|
||||||
"groupName": "go dependencies",
|
"groupName": "go dependencies",
|
||||||
"matchManagers": ["gomod"],
|
"matchManagers": ["gomod"],
|
||||||
|
"postUpdateOptions": ["gomodUpdateImportPaths"],
|
||||||
"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"],
|
||||||
|
|||||||
Reference in New Issue
Block a user