Use config from non-default branch (No Forking) #22264
Replies: 2 comments 20 replies
-
If you configure your |
Beta Was this translation helpful? Give feedback.
-
The issue is valid with I have the following (basically empty) {
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
} I "extend" {
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:base"]
} so if I run RENOVATE_USE_BASE_BRANCH_CONFIG: 'merge'
RENOVATE_BASE_BRANCHES: '["test-branch"]' then I can't see {
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [":disableRenovate"]
} I'd expect Renovate to be completely disabled "on that branch", but it isn't happening, it seems like the main branch config is taken into consideration in this case as well |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
How are you running Renovate?
Self-hosted
If you're self-hosting Renovate, tell us what version of Renovate you run.
Most recent
If you're self-hosting Renovate, select which platform you are using.
Azure DevOps (dev.azure.com)
If you're self-hosting Renovate, tell us what version of the platform you run.
No response
Was this something which used to work for you, and then stopped?
I never saw this working
Wanted end result.
Have config changes (both config.js and renovate.json) on a branch (eg /new_renovate_feature) and run Renovate in our pipeline, so that it uses the config on the branch for that run instead of the config on the default branch.
What you tried so far.
Using baseBranches to set the baseBranch to the one with the config changes, but it doesn't use the config on the branch.
Using force in the config.js, but since config.js is also not being used from the branch it doesn't do anything.
Relevant debug logs
No response
Beta Was this translation helpful? Give feedback.
All reactions