gh run list --workflow build.yml --branch main

Category: GitHub CLI

gh run list --workflow build.yml --branch main

List runs of one workflow on one branch

Narrows run history to a single workflow file and branch, cutting through noise on busy repos. --workflow accepts a filename or ID, --branch a branch name. Add --status to filter further, e.g. failure, for quick triage.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.