Zum Hauptinhalt springen

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โ€‹

EntitySync DirectionDefault
Issues โ†’ Tasksโœ… ImportOn
Tasks โ†’ Issuesโœ… ExportOff
Labels โ†’ Tagsโœ… ImportOn
Milestones โ†’ Sprintsโœ… ImportOff

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:

EventAction
issues.openedCreate task
issues.editedUpdate task
issues.closedClose task
issues.reopenedReopen task
issues.labeledAdd tag
issues.unlabeledRemove tag
pull_request.openedLink PR to task
pull_request.mergedUpdate task status
installation.createdActivate integration

Status Mappingโ€‹

GitHub Issue StateGauzy Task Status
openOpen
closedDone