gh run watch

Watch a run until it completes, showing its progress

gh run watch <run-id> [flags]

Options

--exit-status
Exit with non-zero status if run fails
-i, --interval <int> (default 3)
Refresh interval in seconds

Options inherited from parent commands

-R, --repo <[HOST/]OWNER/REPO>
Select another repository using the [HOST/]OWNER/REPO format

Examples

# Watch a run until it's done
gh run watch

# Run some other command when the run is finished
gh run watch && notify-send "run is done!"

See also