GitHub CLI
Workflows Commands
Manage GitHub Actions workflows from the command line. Learn to run, view, and monitor CI/CD pipelines, check workflow status, and debug failed runs.
8 commands
Pro Tips
Use 'gh run watch' to monitor a running workflow with live updates in your terminal.
Manually trigger workflows with 'gh workflow run workflow.yml' if they have 'workflow_dispatch' trigger.
View logs for failed jobs with 'gh run view --log-failed' to quickly find errors.
Common Mistakes
Workflow runs consume GitHub Actions minutes. Optimize workflows to avoid hitting plan limits.