Skip to content
Snippets Groups Projects
Commit 1bbf0c16 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

fix: don’t apply custom branchPrefix when onboarding

parent b711e0c3
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@ If you have any questions, try reading our [Docs](https://renovateapp.com/docs),
async function ensureOnboardingPr(config) {
logger.debug('ensureOnboardingPr()');
logger.trace({ config });
const onboardingBranch = `${config.branchPrefix}configure`;
const onboardingBranch = `renovate/configure`;
const onboardingPrTitle = 'Configure Renovate';
logger.debug('Filling in onboarding PR template');
let prBody = prTemplate;
......@@ -34,9 +34,7 @@ async function ensureOnboardingPr(config) {
logger.trace('prBody:\n' + prBody);
// Check if existing PR exists
const existingPr = await platform.getBranchPr(
`${config.branchPrefix}configure`
);
const existingPr = await platform.getBranchPr(`renovate/configure`);
if (existingPr) {
// Check if existing PR needs updating
if (existingPr.title === onboardingPrTitle && existingPr.body === prBody) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment