Make sure Renovate updates integrations/go.mod#4774
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates Renovate configuration to better handle dependency updates for Go workspace (go.work) child modules, aiming to prevent go mod tidy from changing child go.mod files that Renovate didn’t update.
Changes:
- Adds a Renovate
packageRulesentry targeting indirect (// indirect) Go module dependencies. - Applies that rule specifically to
integrationtests/go.modandpkg/apis/go.mod.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
weyfonk
reviewed
Mar 9, 2026
2d3273c to
68b02ba
Compare
weyfonk
approved these changes
Mar 9, 2026
to prevent issues that it is not bumped by Renovate while `go mod tidy` would update it. Also adjust the rule to only participates in updates when the same dependency is already being updated elsewhere in the workspace to prevent unwanted indirect update prs.
68b02ba to
7eb2d74
Compare
Collaborator
Author
|
I have let renovate run with the new fix and it did not create any new pull requests. But we can leave this open until a new bump is there which has this issue to retry. |
Collaborator
Author
|
Blocked until we can test it with a Renovate pr which has the described issue. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
to prevent issues that it is not bumped by Renovate while
go mod tidywould update it.Also adjust the rule to only participates in updates when the same dependency is already being updated elsewhere in the workspace to prevent unwanted indirect update prs.