gh run view 123456 --log-failed

Category: GitHub CLI

gh run view 123456 --log-failed

Show only the log output from failed steps in a run

Shows only the log output from failed steps, making it easier to find the cause of failure.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.