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

gh-workflow-enable - Enable a workflow

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

Enable a workflow, allowing it to be run and show 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)

Jun 2025