kubearmor / kubearmor-client

KubeArmor cli tool aka kArmor :robot:
Apache License 2.0
34 stars 83 forks source link

fix renovate go.sum updates #428

Closed kranurag7 closed 3 months ago

kranurag7 commented 6 months ago

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.

EraKin575 commented 6 months ago

I would like to work on this issue

DelusionalOptimist commented 3 months ago

Closing this as done.