2
0

feat(config): Have better GitHub config examples (#327)

Better defaults and guidance regarding GitHub app settings after getsentry/sentry#16550.
This commit is contained in:
Burak Yigit Kaya 2020-01-24 21:08:41 +03:00 committed by GitHub
parent 73bf3f5ab4
commit bc6d3b47e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 4 deletions

View File

@ -71,3 +71,21 @@ symbolicator.options:
url: "http://symbolicator:3021" url: "http://symbolicator:3021"
transaction-events.force-disable-internal-project: true transaction-events.force-disable-internal-project: true
######################
# GitHub Integration #
######################
# github-app.id: GITHUB_APP_ID
# github-app.name: 'GITHUB_APP_NAME'
# github-app.webhook-secret: 'GITHUB_WEBHOOK_SECRET' # Use only if configured in GitHub
# github-app.client-id: 'GITHUB_CLIENT_ID'
# github-app.client-secret: 'GITHUB_CLIENT_SECRET'
# github-app.private-key: |
# -----BEGIN RSA PRIVATE KEY-----
# privatekeyprivatekeyprivatekeyprivatekey
# privatekeyprivatekeyprivatekeyprivatekey
# privatekeyprivatekeyprivatekeyprivatekey
# privatekeyprivatekeyprivatekeyprivatekey
# privatekeyprivatekeyprivatekeyprivatekey
# -----END RSA PRIVATE KEY-----

View File

@ -211,11 +211,9 @@ SENTRY_FEATURES.update(
###################### ######################
# GitHub Integration # # GitHub Integration #
##################### ######################
# GITHUB_APP_ID = 'YOUR_GITHUB_APP_ID' GITHUB_EXTENDED_PERMISSIONS = ['repo']
# GITHUB_API_SECRET = 'YOUR_GITHUB_API_SECRET'
# GITHUB_EXTENDED_PERMISSIONS = ['repo']
######################### #########################
# Bitbucket Integration # # Bitbucket Integration #