gh-workflow-disable(1)

GH-WORKFLOW-DISABLE(1) GitHub CLI manual GH-WORKFLOW-DISABLE(1)

NAME

gh-workflow-disable - Disable a workflow

SYNOPSIS

gh workflow disable [<workflow-id> | <workflow-name>] [flags]

DESCRIPTION

Disable a workflow, preventing it from running or showing up when listing workflows.

OPTIONS INHERITED FROM PARENT COMMANDS

-R, --repo <[HOST/]OWNER/REPO>
Select another repository using the [HOST/]OWNER/REPO format

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-workflow(1)

Jul 2026 GitHub CLI v2.96.0