GH-RUN-WATCH(1)
π gh-run-watch(1) β the GitHub CLI manual, bestie edition π
okay so real quick, we're in the gh-run-watch(1) page of the GitHub CLI manual and honestly? this one's a little baddie. it watches a run for you. let's get into it β¨
πΈ NAME πΈ
gh-run-watch β watch a run until it completes, showing its progress π«Ά
π¦ SYNOPSIS π¦
gh run watch <run-id> [flags]
β¨ DESCRIPTION β¨
Watch a run until it completes, showing its progress. that's the whole vibe. you point it at a run and it justβ¦ keeps you posted. lowkey the most supportive command in the whole CLI tbh ππ
By default, all steps are displayed. that's every single one, no skips, main character energy for every step. but if that's too much for you (it's giving overwhelming), the --compact option can be used to only show the relevant/failed steps. much more chill. much more "just tell me what went wrong" π
β heads up though: this command does not support authenticating via fine grained PATs, because it is not currently possible to create a PAT with the checks:read permission. so likeβ¦ that route's blocked, no cap. use something else to auth, bestie π
π₯ OPTIONS π₯
--compactβ Show only relevant/failed steps. perfect when the full step feed is too loud and you just want the tea β--exit-statusβ Exit with non-zero status if run fails. so your scripts can actually tell when things go sideways. very demure, very useful π-i,--interval <int>β Refresh interval in seconds. default is3. so it's checking back every three seconds like a loyal bestie texting "u good?" π
π OPTIONS INHERITED FROM PARENT COMMANDS π
-R,--repo <[HOST/]OWNER/REPO>β Select another repository using the[HOST/]OWNER/REPOformat. you're not locked to the repo you're standing in, go explore π¦
π EXIT CODES π
0β Successful execution π1β Error π2β Command canceled π4β Authentication required π
π NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information. basically, always check the individual command's help, iykyk.
π EXAMPLE π
# Watch a run until it's done
$ gh run watch
# Watch a run in compact mode
$ gh run watch --compact
# Run some other command when the run is finished
$ gh run watch && notify-send 'run is done!'
that last one? iconic. chaining it with notify-send 'run is done!' so you literally get told the run is done. obsessed. periodt π
β¨
π§ SEE ALSO π§
gh-run(1) β go read that one too, bestie, it's the parent vibe π
and that's the page!! πΈ written up for GitHub CLI v2.102.0, dated Oct 2026 β ty for reading, ily, go watch some runs π«Άππ
π¦ where this page comes from
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms