跳到主要内容

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 RepoGauzy Project
org/frontendFrontend App
org/backendBackend 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