ci(renovate): stop dependency updates from bumping the go directive (#2951)

This commit is contained in:
Valentin Maerten
2026-08-03 22:05:23 +02:00
committed by GitHub
parent c05bdcddf5
commit c5b977ccc1
2 changed files with 6 additions and 1 deletions

View File

@@ -50,6 +50,11 @@
"matchManagers": ["gomod"], "matchManagers": ["gomod"],
"matchDepTypes": ["golang"], "matchDepTypes": ["golang"],
"enabled": false "enabled": false
},
{
"description": "Skip releases whose own `go` directive exceeds ours. Without this, `gomodTidy` propagates their requirement into our go.mod and breaks the older Go versions in the CI matrix.",
"matchManagers": ["gomod"],
"constraintsFiltering": "strict"
} }
] ]
} }

View File

@@ -16,7 +16,7 @@ type InvalidValueError struct {
func (err InvalidValueError) Error() string { func (err InvalidValueError) Error() string {
return fmt.Sprintf( return fmt.Sprintf(
"task: Experiment %q has an invalid value %q (allowed values: %s)", "task: Experiment %q has an invalid value %d (allowed values: %s)",
err.Name, err.Name,
err.Value, err.Value,
strings.Join(slicesext.Convert(err.AllowedValues, strconv.Itoa), ", "), strings.Join(slicesext.Convert(err.AllowedValues, strconv.Itoa), ", "),