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

gh-workflow-disable - Disable a workflow

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

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

Select another repository using the [HOST/]OWNER/REPO format

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.

gh-workflow(1)

Jul 2025