From 642deb0b8330a9fafdc6a1f5c80ed14eb8d01178 Mon Sep 17 00:00:00 2001 From: Rhys Arkins <rhys@arkins.net> Date: Wed, 17 Jul 2019 11:02:04 +0200 Subject: [PATCH] =?UTF-8?q?fix(automerge):=20don=E2=80=99t=20exit=20early?= =?UTF-8?q?=20if=20automerging=20pr=20comment=20(#4105)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #4052 --- lib/workers/repository/process/write.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/workers/repository/process/write.js b/lib/workers/repository/process/write.js index 5f24970a36..97ee733fd4 100644 --- a/lib/workers/repository/process/write.js +++ b/lib/workers/repository/process/write.js @@ -32,7 +32,7 @@ async function writeUpdates(config, packageFiles, allBranches) { ); branch.res = res; // @ts-ignore - if (res === 'pr-closed' || res === 'automerged') { + if (res === 'automerged' && config.automergeType !== 'pr-comment') { // Stop procesing other branches because base branch has been changed return res; } -- GitLab