GH-WORKFLOW-DISABLE(1)
π gh-workflow-disable β the GitHub CLI manual, bestie edition π
okay so real talk, this is a page from the GitHub CLI manual (gh), and today we're talking about gh-workflow-disable. yes it does exactly what it says on the tin and yes it slays at doing it π
β¨ NAME β¨
gh-workflow-disable β literally just disables a workflow. that's her whole job. iconic honestly π
π¦ SYNOPSIS π¦
gh workflow disable [<workflow-id> | <workflow-name>] [flags]
so you can point at a workflow by its <workflow-id> or by its <workflow-name> β dealer's choice, no cap π«Ά and then there's [flags] if you're feeling extra.
πΈ DESCRIPTION πΈ
okay so here's the vibe: this bad girl disables a workflow, which means it stops it from running, AND it stops it from showing up when you're listing workflows. two-for-one behaviour, we love to see it β¨
like, gone-gone. not running, not listed. she's on a break, do not disturb π
π OPTIONS INHERITED FROM PARENT COMMANDS π
not me having to explain that these flags came from the parent command β they're hand-me-downs but make them work, fr fr π§
-R,--repo <[HOST/]OWNER/REPO>β picks a different repository for you, and you write it in the[HOST/]OWNER/REPOformat. that's the whole thing. use it when you're not already sitting in the repo you care about π
β EXIT CODES β
the little numbers she gives you when she's done β read them, they're telling you something π«Ά
0β successful execution. we ate and left no crumbs π1β error. something went sideways π2β command canceled. you (or something) hit the brakes π4β authentication required. gotta log in first babes π
NOTE: specific commands may have additional exit codes β go check that command's help for more info, iykyk π
π₯ SEE ALSO π₯
gh-workflow(1)β the main character herself, go read that one next π
and that's the whole page, bestie!! π
this came to you from GitHub CLI v2.102.0, dated Oct 2026 β so like, remember her when she's famous. mwah πβ¨
π¦ 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