From 96cfd04428e59ceda9d780045b20013161eeb5c3 Mon Sep 17 00:00:00 2001 From: Alex Sohn Date: Fri, 24 Jul 2026 10:10:43 -0400 Subject: [PATCH] docs(github): sync app permissions and events with live GitHub app Update the GitHub integration docs to match the current sentry GitHub app configuration (verified via `gh api /apps/sentry`). - Add the Email Addresses (Account-level, read-only) permission to the GitHub Permissions table - develop-docs: add Actions, Code quality, and Code scanning alerts permissions and the check_run, check_suite, pull_request_review, and pull_request_review_comment events to the self-hosted app setup Co-Authored-By: Claude Opus 4.8 (1M context) --- develop-docs/integrations/github.mdx | 9 ++++++++- docs/integrations/source-code-mgmt/github/index.mdx | 1 + 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/develop-docs/integrations/github.mdx b/develop-docs/integrations/github.mdx index c92158f7d562d..10b8611f506c8 100644 --- a/develop-docs/integrations/github.mdx +++ b/develop-docs/integrations/github.mdx @@ -20,7 +20,7 @@ For local development make sure to use your ngrok URL as the prefix. @@ -45,7 +45,10 @@ When prompted for permissions, choose the following: | Repository / Administration | Read-only | | Organization permissions / members (optional) | Read-only | | Account permissions / Email addresses (optional) | Read-only | +| Repository / Actions | Read & write | | Repository / Checks | Read & write | +| Repository / Code quality | Read-only | +| Repository / Code scanning alerts | Read-only | | Repository / Commit Statuses | Read & write | | Repository / Contents | Read & write | | Repository / Issues | Read & write | @@ -54,6 +57,8 @@ When prompted for permissions, choose the following: When prompted to subscribe to events, choose the following: +- Check run +- Check suite - Delete - Fork - Issue comment @@ -63,6 +68,8 @@ When prompted to subscribe to events, choose the following: - Organization - Public - Pull Request +- Pull request review +- Pull request review comment - Push - Release - Repository diff --git a/docs/integrations/source-code-mgmt/github/index.mdx b/docs/integrations/source-code-mgmt/github/index.mdx index e64822f0765c4..a78f4a5b4907e 100644 --- a/docs/integrations/source-code-mgmt/github/index.mdx +++ b/docs/integrations/source-code-mgmt/github/index.mdx @@ -76,6 +76,7 @@ The following permissions are required for the GitHub integration to work correc | Checks | Read & Write | To show detailed pass/fail results (e.g. test coverage, release health, AI Code Review) as GitHub Checks on PRs or commits. | | Commit Statuses | Read & Write | To post status checks to commits in GitHub and integrate with branch protection rules. | | Contents | Read & Write | To fetch source files, commits, and blame data for Suspect Commits, track files in Releases, and create branches and pull requests. | +| Email Addresses
_[Account-level]_
| Read-only | To associate GitHub identities with Sentry accounts for GitHub SSO and contributor mapping. | | Issues | Read & Write | To create GitHub issues from Sentry events and update linked issues. | | Members
_[Org-level]_
| Read-only | To map organization users to GitHub identities for improved issue attribution and collaboration. | | Metadata | Read-only | To identify repository structure, names, default branches, and visibility. |