fix: readd missing config properties (#13716)

This commit is contained in:
Michael Kriese 2022-01-21 11:58:29 +01:00 committed by GitHub
parent 22c40fa7d4
commit 3b651408e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,6 +57,11 @@ async function getBaseBranchConfig(
baseBranchConfig.baseBranches = config.baseBranches; baseBranchConfig.baseBranches = config.baseBranches;
} }
if (config.baseBranches.length > 1) {
baseBranchConfig.branchPrefix += `${baseBranch}-`;
baseBranchConfig.hasBaseBranches = true;
}
baseBranchConfig = mergeChildConfig(baseBranchConfig, { baseBranch }); baseBranchConfig = mergeChildConfig(baseBranchConfig, { baseBranch });
return baseBranchConfig; return baseBranchConfig;