GH-RUN-WATCH(1) GitHub CLI manual GH-RUN-WATCH(1)

gh-run-watch - Watch a run until it completes, showing its progress

gh run watch <run-id> [flags]

Watch a run until it completes, showing its progress.

This command does not support authenticating via fine grained PATs as it is not currently possible to create a PAT with the checks:read permission.

Exit with non-zero status if run fails
Refresh interval in seconds

Select another repository using the [HOST/]OWNER/REPO format

# 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!"

gh-run(1)

Apr 2024