Skip to content

Commit a0f5580

Browse files
authored
Add note about webhook setup for Gitub Apps (#1041)
<!-- Explain the changes introduced in your PR --> I didn't see any mention in the docs that GitHub apps automatically create an incoming webhook. ## Pull Request approval You will need to get your PR approved by at least one member of the Sourcegraph team. For reviews of docs formatting, styles, and component usage, please tag the docs team via the #docs Slack channel.
1 parent a6e6f79 commit a0f5580

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/admin/code_hosts/github.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ To create a GitHub App and connect it to Sourcegraph:
6666

6767
9. (Optional) If you want to sync repositories from other organization or user namespaces and your GitHub App is set to public visibility, you can create additional installations with **Add installation**.
6868

69+
> NOTE: When you create a GitHub App, Sourcegraph automatically sets up an [incoming webhook](/admin/config/webhooks/incoming) for the app. This webhook subscribes to events for any repository or organization the app has access to, allowing Sourcegraph to keep repository and permission data in sync with GitHub.
70+
6971
> NOTE: If you are using [Batch Changes](/batch-changes/), you can create a GitHub App to perform [commit signing](/admin/config/batch_changes#commit-signing-for-github) (Beta).
7072
7173
### Multiple installations

0 commit comments

Comments
 (0)