GH-WORKFLOW-LIST(1)
π¦ GH-WORKFLOW-LIST(1) π¦
okay bestie, welcome to the GitHub CLI manual β specifically the page for gh-workflow-list, which is lowkey one of the most useful little commands in the whole toolkit. let's get into it π
β¨ NAME β¨
gh-workflow-list β literally just: list workflows. that's it. that's the whole vibe. π
πΈ SYNOPSIS πΈ
gh workflow list [flags]
π DESCRIPTION π
So here's the tea: gh workflow list lists your workflow files. and the little main-character twist? it hides disabled workflows by default β like, it's doing a vibe check and quietly filtering out the ones that aren't active. if you want the whole crew, you gotta ask for them (see --all below, iykyk) β¨
π«Ά OPTIONS π«Ά
-a,--allβ include the disabled workflows too, bestie. the whole roster, no exclusions, everybody's invited to the party π-q,--jq <expression>β filter the JSON output using a jq expression. it's giving "give me exactly the fields I want and nothing else" π--json <fields>β output JSON with the specified fields. raw data, your rules π-L,--limit <int>(default50) β maximum number of workflows to fetch. defaults to50, so if you've got an absolute empire of workflows you might need to crank this up π°-t,--template <string>β format JSON output using a Go template; seegh help formatting. yes, that's a real thing, go read it, it's in the docs fr fr π¦
π OPTIONS INHERITED FROM PARENT COMMANDS π
-R,--repo <[HOST/]OWNER/REPO>β select another repository using the[HOST/]OWNER/REPOformat. very "I'm looking at a different repo today" of you π
π ALIASES π
gh workflow ls
yup β ls is the same thing. short, sweet, iconic. use whichever your fingers vibe with π
β JSON FIELDS β
these are the fields you can ask for, exactly as written:
id, name, path, state
that's the whole list, no cap π₯
π EXIT CODES π
so when the command dips out, here's what the numbers mean:
0: successful execution β slay, it worked β¨1: error β something went sideways π2: command canceled β you (or something) hit the brakes π4: authentication required β you gotta log in first, bestie π
NOTE: specific commands may have additional exit codes. refer to the command's help for more information. so like, don't come for me if you see a number that isn't on this list β check the individual command's help π
π§ SEE ALSO π§
gh-workflow(1)β the parent, the origin story, the blueprint πΈ
and that's the whole page, bestie π«Ά mwah β this little icon was brought to you by GitHub CLI v2.102.0, dated Oct 2026, and the manual page name is GH-WORKFLOW-LIST(1). go list some workflows, you've got this ππ
π¦ where this page comes from
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms