fix-github-actions
Installation
SKILL.md
Retrieve GitHub Actions workflow logs for the current branch PR, analyze failures, and fix CI/CD errors. Use gh, never GitHub MCP for Actions.
- Get current branch:
git branch --show-current; confirm pushed (git status -sb);gh pr vieworgh pr list --head "$(git branch --show-current)" - Retrieve Actions logs:
gh pr checks;gh run list --branch "$(git branch --show-current)" --limit 10; failed run →gh run view <id> --log-failed; artifacts →gh run download <id> - Analyze errors: Parse logs for test failures, lint errors, build errors, missing dependencies, environment variables, configuration issues, timeout errors
- Fix issues: Read affected files, apply fixes per project rules (TypeScript, ESLint, Biome), resolve test failures, fix build errors, add missing dependencies, update config files, address timeout issues, commit changes
- Verify: Push if needed;
gh pr checksorgh run watch <id>for the relevant workflow — do not block every push with watch (validation only)