GitHub

Create and track GitHub Issues automatically from Lescopr incidents and bugs.

Overview

The GitHub connector automatically opens GitHub Issues when Lescopr detects a new incident or bug, and closes them once the issue is resolved.

It authenticates via a Personal Access Token (PAT) with repo scope and interacts with any repository you own or have write access to.

Key features:

  • Automatic issue creation with configurable labels
  • Auto-close on incident resolution
  • Custom label and assignee mapping

Setup

Go to Settings → Connectors → GitHub in your Lescopr dashboard and enter your credentials. The access token requires at least the repo scope to create and close issues.

Lescopr Dashboard → Settings → Connectors → GitHub
bash
Repository owner:  your-org-or-username
Repository name:   your-repo
Access token:      ghp_xxxxxxxxxxxxxxxxxxxx  # PAT with repo scope

Events & notifications

Lescopr triggers the following GitHub actions based on lifecycle events:

  • Incident created → New issue opened with lescopr and incident labels
  • Bug report created → New issue opened with bug and severity labels
  • Incident resolved → Issue is automatically closed
  • Incident acknowledged → Assignee is updated