kubearmor-client icon indicating copy to clipboard operation
kubearmor-client copied to clipboard

fix renovate go.sum updates

Open kranurag7 opened this issue 10 months ago • 1 comments

Currently, renovate is not updating go.sum entries correctly. It's adding lines in go.sum files where as similar lines from the previous version needs to be removed as well.

This issue tracks updating renovate config accordingly so that renovate also removes corresponding lines from the previous versions.

I think we should enable tidying here because if we merge additional entries in go.sum only and run go mod tidy or make on main then we get a diff with lines being removed from go.sum

https://docs.renovatebot.com/golang/#module-tidying

Alternative solution would be running a post upgrade task.

https://docs.renovatebot.com/configuration-options/#postupgradetasks

This way we ran an arbitrary command and get the diff in a PR.

kranurag7 avatar Mar 28 '24 22:03 kranurag7

I would like to work on this issue

EraKin575 avatar Mar 29 '24 19:03 EraKin575