GH-RUN-LIST(1)

✨ NAME ✨

gh-run-list β€” List recent workflow runs πŸ’–

okay bestie, quick vibe check: this is the GitHub CLI manual page for GH-RUN-LIST(1), and it’s literally all about peeking at your recent workflow runs. πŸŽ€


🌸 SYNOPSIS 🌸

gh run list [flags]

πŸ¦‹ DESCRIPTION πŸ¦‹

List recent workflow runs. iconic behavior, no cap ✨

lowkey important note: if you provide the workflow_name to the -w flag, it will not fetch disabled workflows. so if you want disabled workflow runs too, also pass the -a flag and use the workflow_name with the -w flag. 🫢

another thing: runs created by organization and enterprise ruleset workflows will not display a workflow name due to GitHub API limitations. sad but true 😭

and if you’re trying to see runs associated with a pull request, you should run gh pr checks. periodt. πŸ’…


πŸ’œ OPTIONS πŸ’œ

  • -a, --all β€” include disabled workflows 🫢
  • -b, --branch <string> β€” filter runs by branch 🌿
  • -c, --commit <SHA> β€” filter runs by the SHA of the commit 🧚
  • --created <date> β€” filter runs by the date it was created πŸ“…
  • -e, --event <event> β€” filter runs by which event triggered the run ⚑
  • -q, --jq <expression> β€” filter JSON output using a jq expression πŸ”Ž
  • --json <fields> β€” output JSON with the specified fields 🧾
  • -L, --limit <int> (default 20) β€” maximum number of runs to fetch πŸ”₯
  • -s, --status <string> β€” filter runs by status: {queued|completed|in_progress|requested|waiting|pending|action_required|cancelled|failure|neutral|skipped|stale|startup_failure|success|timed_out} πŸ‘‘
  • -t, --template <string> β€” format JSON output using a Go template; see gh help formatting πŸŽ€
  • -u, --user <string> β€” filter runs by user who triggered the run πŸ™‹
  • -w, --workflow <string> β€” filter runs by workflow πŸ› οΈ

🌈 OPTIONS INHERITED FROM PARENT COMMANDS 🌈

  • -R, --repo <[HOST/]OWNER/REPO> β€” select another repository using the [HOST/]OWNER/REPO format πŸ’–

⭐ ALIASES ⭐

gh run ls β€” yes bestie, it’s giving shortcut energy πŸ’…


πŸ“ JSON FIELDS πŸ“

attempt, conclusion, createdAt, databaseId, displayTitle, event, headBranch, headSha, name, number, startedAt, status, updatedAt, url, workflowDatabaseId, workflowName


πŸ’€ 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. πŸ“Œ

🧚 SEE ALSO 🧚

gh-run(1) β€” go click through and stay nosy, bestie 🫢


mwah πŸ’‹ this little manual moment is from GitHub CLI v2.102.0, dated Oct 2026 β€” now go slay those workflow runs, queen πŸ‘‘βœ¨

πŸ“¦ where this page comes from