-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide indication in the PR body when "go get" updates go.mod #27775
Comments
Slight complication: for v0.0.0 digest updates we intend for go to "fix" the modified line for us. So we can't purely flag if the file was modified by go get and need to be a little smarter |
Also we need to make sure that this warning persist across jobs and isn't reset by the updatePr() command later. We could add a PR comment to make sure, like we do with artifacts errors, but we'd be better to have it in the PR body below the table |
Here is how to reproduce it in theory:
What we should see is that Renovate says it's updating only A, but go get will also update B too |
Alternative suggestion: return a warning from updateArtifacts, and add a new Artifacts Update Warning comment (similar to we do with errors) so that it persists across runs until another commit is done. It can say: "Changes to the go.mod file were detected when running |
So, this isn't something that is currently implemented? |
I think we support errors only and not warnings |
🎉 This issue has been resolved in version 37.378.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Describe the proposed change(s).
In the gomod manager, it works like this:
The above is correct and desirable.
The problem with this is that the PR description of what Renovate intended to update may be less than what was actually updated.
As a minimum, Renovate should display a warning that go.mod was updated by "go get" and for reviewers to check the files.
This could be followed later (by another feature request) a more detailed parsing/summary of what exactly changed.
The text was updated successfully, but these errors were encountered: