From 7f0d3753c4f6c7680e6633a8cf318bdc627ff9f6 Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Tue, 7 Apr 2020 13:39:07 +0200
Subject: [PATCH] =?UTF-8?q?fix:=20don=E2=80=99t=20return=20pending=20branc?=
 =?UTF-8?q?h=20if=20master=20issue=20checked?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 lib/workers/branch/index.ts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/workers/branch/index.ts b/lib/workers/branch/index.ts
index 83fca46d23..f703fb9076 100644
--- a/lib/workers/branch/index.ts
+++ b/lib/workers/branch/index.ts
@@ -446,6 +446,7 @@ export async function processBranch(
 
     // break if we pushed a new commit because status check are pretty sure pending but maybe not reported yet
     if (
+      !masterIssueCheck &&
       commitHash &&
       (config.requiredStatusChecks?.length || config.prCreation !== 'immediate')
     ) {
-- 
GitLab