Disable running go mod vendor
entirely
#29107
Unanswered
chancez
asked this question in
Request Help
Replies: 1 comment 3 replies
-
Would it be better if renovate ran the go work vendor command instead? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What would you like help with?
I would like help with my configuration
How are you running Renovate?
Self-hosted
If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.
GitHub
Please tell us more about your question or problem
I'm using self-hosted renovate, and we have some postUpgradeCommands to manage Go modules/vendor, instead of using the postUpdate options. However, it seems that Renovate will unconditionally try to run
go mod vendor
if it detects avendor/
directory. This is causing trouble for us because we've recently adopted using go workspaces with vendoring which requires usinggo work vendor
and fails ongo mod vendor
.I can't see any way to disable this behavior unfortunately though: https://docs.renovatebot.com/golang/#module-vendoring
Logs (if relevant)
Logs
Beta Was this translation helpful? Give feedback.
All reactions