File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -364,17 +364,17 @@ func printPrs(prs ...api.PullRequest) {
364364 if checks .Total > 0 {
365365 var summary string
366366 if checks .Failing > 0 {
367- if checks .Total > 1 {
368- summary = utils .Red (fmt . Sprintf ( "%d/%d failing" , checks . Failing , checks . Total ) )
367+ if checks .Failing == checks . Total {
368+ summary = utils .Red ("All checks failing" )
369369 } else {
370- summary = utils .Red (" failing" )
370+ summary = utils .Red (fmt . Sprintf ( "%d/%d checks failing", checks . Failing , checks . Total ) )
371371 }
372372 } else if checks .Pending > 0 {
373- summary = utils .Yellow ("pending" )
373+ summary = utils .Yellow ("Checks pending" )
374374 } else if checks .Passing == checks .Total {
375- summary = utils .Green ("success " )
375+ summary = utils .Green ("Checks passing " )
376376 }
377- fmt .Printf (" - checks: %s" , summary )
377+ fmt .Printf (" - %s" , summary )
378378 }
379379
380380 if reviews .ChangesRequested {
You can’t perform that action at this time.
0 commit comments