From e86725430efefbb0cf10c21257682623a066a07c Mon Sep 17 00:00:00 2001 From: Rhys Arkins <rhys@keylocation.sg> Date: Mon, 13 Mar 2017 10:21:28 +0100 Subject: [PATCH] Set remove_source_branch in gitlab MRs (#131) Closes #126 --- lib/api/gitlab.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/api/gitlab.js b/lib/api/gitlab.js index 192d886410..ecae60fdd3 100644 --- a/lib/api/gitlab.js +++ b/lib/api/gitlab.js @@ -164,6 +164,7 @@ async function createPr(branchName, title, body) { body: { source_branch: branchName, target_branch: config.defaultBranch, + remove_source_branch: true, title, description: body, }, -- GitLab