Renovate to support settings --base-branches via cli? #32505
Unanswered
smallgiantbloo
asked this question in
Request Help
Replies: 1 comment 3 replies
-
baseBranches is a per-repo setting. It's very rare that any user/org has the exact same baseBranches for all repos, so it does not make sense to allow it to be globally configurable. Instead you could JSON stringify your config and use |
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
-
How are you running Renovate?
Self-hosted Renovate
If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.
GitLab - 39.10.0
Please tell us more about your question or problem
I have three different branches in my repository.
The default branch where there arent't any dependencies that requires updates but stores the renovate config file.
Other two branches have dependencies that renovate should update. Sometimes I need to update the two branches at the same time and sometimes I would need to update only one branch at the time.
So I have a situation where I would need to trigger Renovate dynamically to different branches.
I would need to override the baseBranches-setting from the default branch.
I'm running the renovate-image in Gitlab.
It could be possible using the
--force-cli
switch and overriding the baseBranches if the cli would support that.Is there a reason the cli doesn't support setting --base-branches?
https://docs.renovatebot.com/configuration-options/#basebranches
Logs (if relevant)
Logs
Beta Was this translation helpful? Give feedback.
All reactions