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 NameDetected Task
feature/TASK-001-add-authTASK-001
TASK-001/add-authTASK-001
fix/TASK-042-login-bugTASK-042

Workflow

  1. Create branch: git checkout -b feature/TASK-001-add-auth
  2. Make changes, commit, push
  3. Create PR: bpsai-pair github auto-pr
  4. After merge: bpsai-pair github archive-merged --all

Troubleshooting

ProblemSolution
"Not authenticated"Run gh auth login
Task not detectedCheck branch name includes TASK-XXX
PR creation failsEnsure branch is pushed to remote