GitHub Integration Free
Automated PR workflows with PairCoder
Included in Free
GitHub integration is included in the Free plan and in every paid plan.
Setup
Ensure gh CLI is installed and authenticated:
bash
gh auth status
Commands
bash
# Check connection
bpsai-pair github status
# Create PR for a task
bpsai-pair github create --task TASK-001
# Auto-create PR from branch name
bpsai-pair github auto-pr
# List pull requests
bpsai-pair github list
# Merge PR and update task
bpsai-pair github merge 123
# Archive tasks when PRs merge
bpsai-pair github archive-merged --all
Branch Naming
Auto-PR detects task IDs from branch names:
| Branch Name | Detected Task |
|---|---|
feature/TASK-001-add-auth | TASK-001 |
TASK-001/add-auth | TASK-001 |
fix/TASK-042-login-bug | TASK-042 |
Workflow
- Create branch:
git checkout -b feature/TASK-001-add-auth - Make changes, commit, push
- Create PR:
bpsai-pair github auto-pr - After merge:
bpsai-pair github archive-merged --all
Troubleshooting
| Problem | Solution |
|---|---|
| "Not authenticated" | Run gh auth login |
| Task not detected | Check branch name includes TASK-XXX |
| PR creation fails | Ensure branch is pushed to remote |