GitHub Integration
Bi-directional synchronization between GitHub repositories and Gauzy projects/tasks.
Featuresβ
- Issue sync β GitHub issues β Gauzy tasks
- PR linking β link pull requests to tasks
- Status sync β issue status maps to task status
- Label sync β GitHub labels map to task tags
- Webhook events β real-time updates via webhooks
- Multi-repo β connect multiple repositories
Setupβ
1. Install GitHub Appβ
Navigate to Settings β Integrations β GitHub and install the Gauzy GitHub App on your organization.
2. Configure Repository Mappingβ
Map GitHub repositories to Gauzy projects:
| GitHub Repo | β | Gauzy Project |
|---|---|---|
org/frontend | β | Frontend App |
org/backend | β | Backend API |
3. Entity Sync Settingsβ
| Entity | Sync Direction | Default |
|---|---|---|
| Issues β Tasks | β Import | On |
| Tasks β Issues | β Export | Off |
| Labels β Tags | β Import | On |
| Milestones β Sprints | β Import | Off |
Configurationβ
GAUZY_GITHUB_APP_ID=123456
GAUZY_GITHUB_APP_NAME=ever-gauzy-dev
GAUZY_GITHUB_APP_PRIVATE_KEY=base64-encoded-private-key
GAUZY_GITHUB_WEBHOOK_SECRET=your-webhook-secret
GAUZY_GITHUB_CALLBACK_URL=https://api.yourdomain.com/api/integration/github/callback
GAUZY_GITHUB_POST_INSTALL_URL=https://app.yourdomain.com/pages/integrations/github/setup
Webhook Eventsβ
Handled webhook events:
| Event | Action |
|---|---|
issues.opened | Create task |
issues.edited | Update task |
issues.closed | Close task |
issues.reopened | Reopen task |
issues.labeled | Add tag |
issues.unlabeled | Remove tag |
pull_request.opened | Link PR to task |
pull_request.merged | Update task status |
installation.created | Activate integration |
Status Mappingβ
| GitHub Issue State | Gauzy Task Status |
|---|---|
open | Open |
closed | Done |