gh run list List recent GitHub Actions workflow runs

Shows the latest runs of your repository's automated workflows with their status, branch and age. Use it to find a failing run, then view its log.

Synopsis

gh run list [FLAGS]

Common options

Option or formWhat it does
-w, --workflow NAMEOnly runs of that workflow
-b, --branch NAMEOnly runs on a branch
-s, --status STATUSFilter by status, such as failure or success
-L, --limit NHow many to show (default 20)
-u, --user NAMEOnly runs triggered by a user
--json FIELDSOutput fields as JSON

Examples

See recent runs
gh run list
completed  success  Fix typo  build  main  push  1m4s
Only failures
gh run list --status failure
Runs on one branch
gh run list --branch feature/search
Runs of one workflow
gh run list --workflow build.yml
Show a run's failing logs
gh run view 123456789 --log-failed

Notes

See also

Last reviewed 2026-10-09.