From d62345fc56aefdb555c446ea6279f85b0bcea34d Mon Sep 17 00:00:00 2001 From: Rhys Arkins <rhys@keylocation.sg> Date: Mon, 17 Apr 2017 07:19:22 +0200 Subject: [PATCH] Fix GitHub branchExists check (#169) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Fix: don’t check for closed PR if groupName is configured * Fix GitHub branchExists check * Revert "Fix GitHub branchExists check" This reverts commit 775b3172f1355d803b01454a007935005e1a86a2. --- lib/worker.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/worker.js b/lib/worker.js index 69bb958c7c..bfeeb3969a 100644 --- a/lib/worker.js +++ b/lib/worker.js @@ -201,6 +201,7 @@ async function updateBranch(upgrades) { try { if (upgrade0.upgradeType !== 'maintainYarnLock' && + upgrade0.groupName === null && !upgrade0.recreateClosed && await upgrade0.api.checkForClosedPr(branchName, prTitle)) { logger.verbose(`Skipping ${branchName} upgrade as matching closed PR already existed`); return; -- GitLab