PR reviews are automatically enabled for all repositories where you install the GitHub.gg App. You control which repos get reviews in 3 ways:
- GitHub App Installation - Choose repos during install
- Global Toggle - Turn reviews ON/OFF for all repos
- Per-Repo Exclusion - Exclude specific repos (via settings UI)
For First-Time Users:
-
Click "Install GitHub.gg App"
-
You'll be redirected to GitHub
-
Choose installation target:
- Personal account
- Or organization
-
Select repositories:
○ All repositories (recommended for personal) ● Only select repositories ✓ my-awesome-repo ✓ another-repo ✓ test-project -
Click "Install"
For Existing Installations:
Update which repos have access:
- Go to:
https://github.com/settings/installations - Find "GitHub.gg" app
- Click "Configure"
- Add/remove repositories
-
Go to GitHub App settings:
https://github.com/settings/apps/[your-app-name] -
Scroll to "Webhook" section
-
Configure:
✅ Active Webhook URL: https://dev.github.gg/api/webhooks/github Content type: application/json Secret: [your GITHUB_WEBHOOK_SECRET value] -
SSL verification: Enable
-
Subscribe to events:
- ✅ Pull requests
- ✅ Installation repositories
- ✅ Installation
- ☐ Push (optional - for future features)
-
Click "Save changes"
Go to Settings Page:
Navigate to: https://dev.github.gg/settings
┌──────────────────────────────────────────────┐
│ 🔗 PR Review Automation │
│ │
│ ✓ GitHub App installed for @username │
│ │
│ Enable PR Reviews [●] │ ← Master switch
│ Automatically post AI reviews on all PRs │
│ │
│ Auto-update Comments [●] │ ← Update on push
│ Update review when PR is updated │
└──────────────────────────────────────────────┘
┌──────────────────────────────────────────────┐
│ Excluded Repositories │
│ │
│ [+ Add Repository] │
│ │
│ • username/repo-1 [Remove] │
│ • username/repo-2 [Remove] │
└──────────────────────────────────────────────┘
1. Developer opens PR
↓
2. GitHub sends webhook → https://dev.github.gg/api/webhooks/github
↓
3. System checks:
✓ Is GitHub App installed on this repo?
✓ Is user's "Enable PR Reviews" toggled ON?
✓ Is repo in excluded list?
↓
4. If all checks pass:
→ Fetch changed files
→ Send to Gemini AI for analysis
→ Post comment on PR
↓
5. Developer sees AI review comment in ~30-60 seconds
✅ PR Reviews will be posted when:
- GitHub App is installed on the repo
- "Enable PR Reviews" is ON in settings
- Repo is NOT in excluded list
- PR has code changes (not just README)
❌ PR Reviews will NOT be posted when:
- GitHub App not installed on repo
- "Enable PR Reviews" toggled OFF
- Repo is in excluded list
- PR only has binary files or lock files
Method 1: GitHub Settings
https://github.com/settings/installations
→ Find "GitHub.gg"
→ Click "Configure"
→ See list of repos with access
Method 2: Installation Info in Settings
https://dev.github.gg/settings
→ Scroll to "PR Review Automation"
→ Shows: "✓ GitHub App installed for @username"
Best for: Individual developers
Setup: Install on "All repositories"
Control: Use global toggle to enable/disable
Best for: Organizations with many repos
Setup: Install on "Only select repositories"
Add: Critical projects, active development repos
Exclude: Archives, forks, experimental repos
Best for: Fine-grained control
Setup: Install on all repos
Control: Use excluded repos list
Example: Exclude test repos, personal projects
-
Check installation:
Go to: https://github.com/settings/installations Verify "GitHub.gg" shows your repos -
Check settings:
Go to: https://dev.github.gg/settings Verify "Enable PR Reviews" is ON -
Create test PR:
# In any installed repo git checkout -b test-pr-review echo "test" > test.txt git add test.txt git commit -m "test" git push origin test-pr-review gh pr create --title "Test" --body "Testing PR reviews"
-
Wait 30-60 seconds
-
Check PR for AI comment
Problem: Settings page shows no installation
Solutions:
- Visit https://dev.github.gg/install
- Install the GitHub.gg app
- Refresh settings page
Checklist:
- GitHub App installed on repo? ✓
- Webhook configured? ✓
- "Enable PR Reviews" ON? ✓
- Repo not in excluded list? ✓
- Webhook secret correct? ✓
Debug steps:
-
Check webhook deliveries:
https://github.com/settings/apps/[app-name] → Advanced tab → Recent Deliveries → Find pull_request event → Check response (should be 200 OK) -
Check server logs for errors
-
Verify Gemini API key is set
Wait up to 2 minutes (analysis takes time).
If still nothing:
- Check webhook delivery (see above)
- Verify repo is not excluded
- Check that PR has code changes (not just docs)
1. https://github.com/settings/installations
2. Click "Configure" next to GitHub.gg
3. Under "Repository access"
4. Click "Select repositories" dropdown
5. Search and select new repo
6. Click "Save"
Same steps, but uncheck the repo.
https://dev.github.gg/settings
→ Toggle "Enable PR Reviews" OFF
→ No new comments will be posted
→ Existing settings preserved
Q: Do I need to configure webhooks for each repo? A: No! Webhooks are configured once at the GitHub App level and work for all installed repos.
Q: Can I control reviews per-repo? A: Yes, use the excluded repos list (or remove repo from GitHub App installation).
Q: What happens if I uninstall the app? A: All webhooks stop immediately. Your settings are preserved if you reinstall.
Q: Can team members have different settings? A: No, settings are per-installation (organization-wide). Each user has their own settings for their personal repos.
Q: How much does each PR review cost? A: ~2000-10000 tokens = $0.01-0.05 per review with Gemini 2.5 Pro.
- ✅ Install GitHub App
- ✅ Configure settings
- ✅ Create test PR
- ✅ Verify comment appears
- 🎉 Enjoy automated code reviews!