fix: don’t return pending branch if master issue checked

This commit is contained in:
Rhys Arkins 2020-04-07 13:39:07 +02:00
parent aa7f291275
commit 7f0d3753c4

View file

@ -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')
) {