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 form | What it does |
|---|---|
-w, --workflow NAME | Only runs of that workflow |
-b, --branch NAME | Only runs on a branch |
-s, --status STATUS | Filter by status, such as failure or success |
-L, --limit N | How many to show (default 20) |
-u, --user NAME | Only runs triggered by a user |
--json FIELDS | Output fields as JSON |
Examples
gh run list
completed success Fix typo build main push 1m4s
gh run list --status failure
gh run list --branch feature/search
gh run list --workflow build.yml
gh run view 123456789 --log-failed
Notes
- The run ID is in the first columns of the output or in the URL on GitHub.
- Use gh run watch RUN-ID to follow a run live and gh run rerun RUN-ID --failed to try again.
- Workflows are defined in .github/workflows/ in the repository.
See also
Last reviewed 2026-10-09.