What GitHub enables
- Repository access — Bugzy reads your codebase and commits test artifacts (test plans, test cases, execution results) directly to your repo
- Webhook events — Push, pull request, and deployment events trigger agent tasks automatically
- PR comments — Test results and findings posted as PR comments for review
- Repository scaffolding — Bugzy creates the test infrastructure directory structure (
tests/,test-cases/,.bugzy/) in your project repo
Setup
Authorize and select repositories
Authorize the Bugzy GitHub App and select which repositories to grant access to. You can limit access to specific repos or grant organization-wide access.
No manual token or webhook URL configuration is needed. The OAuth flow provisions all credentials automatically.
Webhook events
Bugzy receives GitHub webhook events at:Supported events
| Event | Trigger | Typical agent task |
|---|---|---|
push | Code pushed to a branch | Run smoke tests on changed areas |
pull_request | PR opened, updated, or merged | Run tests on the PR branch, post results as PR comment |
deployment | Deployment status change | Post-deploy verification against staging/production |
Event trigger configuration
In Dashboard > Event Triggers, map GitHub events to specific agent tasks:- Push to
main— Run full regression suite - PR opened/updated — Run targeted tests for changed files
- Deployment succeeded — Run post-deploy smoke tests
- Custom filters — Filter by branch pattern, file paths, or labels
How test commits work
After Bugzy generates or executes tests, it commits results back to your repository:- Bugzy runs the assigned task (generate test plan, execute tests, etc.)
- Test artifacts are written to the project’s directory structure
- Bugzy commits changes to a branch (configurable: direct to
main, feature branch, or PR) - If configured, a PR is opened with the test changes for team review
Repository structure after scaffolding
GitHub App permissions
The Bugzy GitHub App requests the following permission scopes:| Permission | Access | Purpose |
|---|---|---|
| Repository contents | Read & Write | Read code, commit test artifacts |
| Pull requests | Read & Write | Create PRs, post comments |
| Issues | Read & Write | Track test-related issues |
| Webhooks | Read & Write | Receive push, PR, deployment events |
| Metadata | Read-only | Repository metadata |
| Deployments | Read-only | Deployment status events |
