diff --git a/lib/workers/repository/process/index.ts b/lib/workers/repository/process/index.ts index b57c53b785..375177640c 100644 --- a/lib/workers/repository/process/index.ts +++ b/lib/workers/repository/process/index.ts @@ -57,6 +57,11 @@ async function getBaseBranchConfig( baseBranchConfig.baseBranches = config.baseBranches; } + if (config.baseBranches.length > 1) { + baseBranchConfig.branchPrefix += `${baseBranch}-`; + baseBranchConfig.hasBaseBranches = true; + } + baseBranchConfig = mergeChildConfig(baseBranchConfig, { baseBranch }); return baseBranchConfig;