From 1bbf0c16926d8d4e30209a2757f026dcef740ae5 Mon Sep 17 00:00:00 2001 From: Rhys Arkins <rhys@arkins.net> Date: Sat, 6 Jan 2018 10:19:00 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20don=E2=80=99t=20apply=20custom=20branchP?= =?UTF-8?q?refix=20when=20onboarding?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/workers/repository/onboarding/pr/index.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/workers/repository/onboarding/pr/index.js b/lib/workers/repository/onboarding/pr/index.js index 904d9a3398..718981f9a5 100644 --- a/lib/workers/repository/onboarding/pr/index.js +++ b/lib/workers/repository/onboarding/pr/index.js @@ -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) { -- GitLab