GitHub Automation
Use YOLO Developer to manage branches, commits, pull requests, issues, and releases.
Table of contents
Prerequisites
- Install the GitHub CLI (
gh) and authenticate (gh auth login). - Ensure
yolo.yamlincludes thegithubconfiguration or setYOLO_GITHUB__TOKEN.
Git Operations
yolo git status
yolo git commit -m "feat: update"
yolo git push
Pull Requests
yolo pr create --title "Add feature" --body "Implements XYZ"
yolo pr merge 123 --method squash
Issues
yolo issue create --title "Bug" --body "Steps to reproduce..."
yolo issue close 456 --comment "Fixed in PR #123"
Releases
yolo release create --tag v1.2.0 --name "Release 1.2.0" --body "Notes..."
Workflow Shortcuts
yolo workflow start US-001 --title "Add endpoint" --description "..."
yolo workflow complete US-001 --title "Add endpoint" --description "..." --commit "feat: add endpoint"