diff --git a/pkg/cmd/pr/checks/checks.go b/pkg/cmd/pr/checks/checks.go index f9ae516c9..3431ae33b 100644 --- a/pkg/cmd/pr/checks/checks.go +++ b/pkg/cmd/pr/checks/checks.go @@ -146,10 +146,12 @@ func checksRun(opts *ChecksOptions) error { return err } - if counts.Pending != 0 && opts.Watch { + if opts.Watch { refreshScreen(opts.IO.Out) - cs := opts.IO.ColorScheme() - fmt.Fprintln(opts.IO.Out, cs.Boldf("Refreshing checks status every %v seconds. Press Ctrl+C to quit.\n", opts.Interval.Seconds())) + if counts.Pending != 0 { + cs := opts.IO.ColorScheme() + fmt.Fprintln(opts.IO.Out, cs.Boldf("Refreshing checks status every %v seconds. Press Ctrl+C to quit.\n", opts.Interval.Seconds())) + } } printSummary(opts.IO, counts)