File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -588,9 +588,10 @@ async function graphqlSearchPRs(
588588 const reviewerLogins = [ ...new Set ( [ ...pendingLogins , ...actualLogins ] . map ( l => l . toLowerCase ( ) ) ) ] ;
589589
590590 let checkStatus = mapCheckStatus ( node . commits . nodes [ 0 ] ?. commit ?. statusCheckRollup ?. state ?? null ) ;
591- // mergeStateStatus overrides checkStatus when it indicates action is needed
591+ // mergeStateStatus overrides checkStatus when it indicates action is needed.
592+ // BLOCKED means required checks/reviews haven't passed — leave checkStatus from rollup.
592593 const mss = node . mergeStateStatus ;
593- if ( mss === "DIRTY" || mss === "BEHIND" || mss === "BLOCKED" ) {
594+ if ( mss === "DIRTY" || mss === "BEHIND" ) {
594595 checkStatus = "conflict" ;
595596 } else if ( mss === "UNSTABLE" ) {
596597 checkStatus = "failure" ;
You can’t perform that action at this time.
0 commit comments