Inspect workflows from the terminal.
Section: Artifacts and GitHub CLI
List workflows with GitHub CLI
bash
bash
gh workflow listExplanation
Useful for debugging and automating workflow management from a terminal or script.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Artifacts and GitHub CLI
Trigger a workflow manually with gh
Dispatch a workflow file from the CLI.
Download workflow artifacts with gh
Fetch artifacts from a completed workflow run.
Upload build output as an artifact
Save files from the workflow run for later download or later jobs.