Skip to content

GitHub Integration

GuideMode integrates with GitHub to provide comprehensive visibility into your development workflow. This integration enables organization sync, pull request tracking, issue management, and deployment analytics for DORA metrics.

  • Organization & Team Sync: Automatically sync your GitHub organization members and teams to GuideMode
  • Pull Request Tracking: Link AI coding sessions to pull requests for end-to-end traceability
  • Issue Tracking: Monitor issues and their lifecycle through your workflow
  • Deployment Tracking: Capture deployment events for DORA metrics (lead time, deployment frequency)
  • Label Mapping: Map your GitHub labels to GuideMode’s analytical categories

Before setting up the GitHub integration, you’ll need:

  • A GitHub account with admin access to your organization
  • Admin permissions in your GuideMode tenant

The GitHub integration uses two components that GuideMode has already configured:

  1. GitHub OAuth - For logging in with your GitHub account
  2. GuideMode GitHub App - For organization sync, webhooks, and repository access

You simply need to connect your account and install the app on your organization.

  1. Navigate to Settings > Integrations > GitHub in GuideMode
  2. Click Connect with GitHub
  3. Authorize GuideMode to access your GitHub account
  4. You’ll be redirected back to GuideMode once connected

After connecting your account, install the GuideMode GitHub App on your organization:

  1. In Settings > Integrations > GitHub, click Install GitHub App
  2. Choose your organization or personal account
  3. Select which repositories to grant access to:
    • All repositories: Recommended for full visibility
    • Selected repositories: For limited access
  4. Click Install to complete

GitHub Settings

After installing the GitHub App, you can sync your organization:

  • Members: All organization members are created as users in GuideMode
  • Teams: GitHub teams are mirrored to GuideMode teams
  • Team memberships: Member roles (member/maintainer) are preserved
  • Repository links: Team repositories are linked to GuideMode projects
  1. Go to Settings > Integrations > GitHub
  2. Click Sync Organization
  3. Wait for the sync to complete (status shows progress)

Syncs run automatically when:

  • A new member joins the organization
  • Team memberships change
  • Teams are created or modified

When a pull request is opened in a repository where GuideMode has detected a coding session, the integration adds context to the PR:

GitHub PR Integration

This provides end-to-end traceability from AI session through to deployed code.

Requirements:

  • Session data must be synced (at least Metrics Only mode)
  • For full auditability, enable Full Transcript sync

GuideMode maps GitHub labels to canonical issue types for consistent analytics across projects.

Labels are matched using pattern-based heuristics. See Issues → Type Mapping for:

  • The six canonical types (feature, bug, chore, discovery, incident, other)
  • Default label patterns for each type
  • How custom mappings override defaults

You can configure custom mappings per project or globally for your tenant. Custom mappings take priority over default heuristics.

To configure custom mappings, go to Settings > Integrations > GitHub > Label Mappings.

The GuideMode GitHub App receives real-time updates via webhooks. Here’s what gets captured:

EventActionsWhat’s Captured
issuesopened, edited, closed, reopened, labeled, unlabeledIssue lifecycle and type changes
pull_requestopened, synchronize, reopened, closed, editedPR lifecycle, additions/deletions
pull_request_reviewsubmitted, edited, dismissedReview feedback
deploymentcreatedDeployment events for DORA metrics
deployment_statuscreatedSuccess/failure status
memberadded, removedOrganization membership
membershipadded, removedTeam membership changes
teamcreated, deleted, editedTeam lifecycle
repositorycreated, deleted, archivedRepository changes
installationcreated, deleted, suspendedApp installation status

Deployment events power DORA metrics calculations:

  • Deployment Frequency: How often you deploy to production
  • Lead Time for Changes: Time from commit to production
  • Change Failure Rate: Percentage of deployments causing issues
  • Time to Restore: How quickly you recover from failures

Each project can be configured for what to sync. Go to Settings > Projects and select a project to configure:

SettingDescription
syncIssuesEnable/disable issue tracking
syncPullRequestsEnable/disable PR tracking
syncDeploymentsEnable/disable deployment tracking
  • Try disconnecting and reconnecting your GitHub account in Settings > Integrations > GitHub
  • Ensure you’re logged into the correct GitHub account
  • Check that you have authorized GuideMode to access your account
  • Verify the GitHub App is installed on the organization
  • Ensure you have admin access to the organization
  • Check that the app has the required permissions (if prompted, approve any permission updates)
  • Review sync logs in GuideMode for specific errors
  • Trigger a manual sync from Settings > Integrations > GitHub
  • Check that teams exist in the GitHub organization
  • Verify you have access to view the teams
  • Review your custom mappings in Settings > Integrations > GitHub > Label Mappings
  • Check that label names match (case-insensitive)
  • Use default heuristics as a guide for naming labels