| name | github-workflow-automation |
| version | 2.0.0 |
| category | github |
| description | GitHub Actions workflow automation, CI/CD pipeline management, and monitoring using the GitHub CLI (gh). |
| tags | ["github","github-actions","ci-cd","workflow-automation","gh-cli"] |
GitHub Workflow Automation Skill
Manage and monitor GitHub Actions workflows directly from the command line using the GitHub CLI (gh).
Quick Start
1. View and Run Workflows
gh workflow list
gh workflow run "CI Pipeline" --ref main
gh workflow run deploy.yml -f environment=production -f debug=true
2. Monitor Workflow Runs
gh run list --limit 10
gh run watch
gh run view --log
Core Capabilities
1. Analyzing Failures
Quickly find out why a CI job failed.
gh run list --status failure --limit 1
gh run view <run-id> --log-failed
2. Secret and Variable Management
gh secret set API_TOKEN --body "your-token-here"
gh secret set DB_PASSWORD --env production --body "secure-password"
gh variable list
3. Creating New Workflows
When generating new workflows, adhere to these best practices: