Skip to main content

GitHub Integration

PanDev Metrics integrates with GitHub to provide deep insight into your development workflow.

What the Integration Delivers

  • Code review assistance – automatic analysis with recommendations during pull request reviews.
  • Pull request comments – intelligent annotations with code quality metrics.
  • Project isolation – analytics stay scoped to your repositories, preserving privacy.
  • Performance metrics – track development velocity and code health in one place.

Setup Steps

Step 1: Create a Service Account

Analytics and report generation for PR creation/updates will be performed on behalf of this account.

Step 2: Grant Access to the Service Account

  1. Assign the owner role to the service account in all required organizations.

Step 3: Create a Token for the Service Account

  1. Log in to the service account
  2. Go to the token creation page
  3. Select the token type "Fine-grained personal access tokens" create-github-token-step-1.png
  4. Choose your organization in "Resource owner" create-github-token-step-2.png
  5. In the "Permissions" section, specify the required permissions for "Repositories" and "Organizations" create-github-token-step-3.png
  6. For "Repositories": Issues - Read and write, Metadata - Read-only, Pull requests - Read and write create-github-token-step-4.png
  7. For "Organizations": Webhooks - Read and write create-github-token-step-5.png
  8. Then create the token create-github-token-step-6.png

Step 4: Activation

  1. Insert the token
  2. Check the connection
  3. Activate the integration

Metrics Tracked

  • Code quality indicators.
  • Automated test coverage.
  • Code review turnaround time.
  • Comment volume and engagement.
  • Technical debt signals.
  • Engineering productivity metrics.
  • Contributor activity analysis.

Need More Detail?

Refer to the full integration guide at /integrations/github.