From d19b03b1266055d2fae193d69651f74c728193d5 Mon Sep 17 00:00:00 2001 From: Gabe Torres Date: Fri, 21 Mar 2025 16:49:23 -0700 Subject: [PATCH] add note about webhook setup --- docs/admin/code_hosts/github.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/admin/code_hosts/github.mdx b/docs/admin/code_hosts/github.mdx index adaeb00e2..a79bdd81e 100644 --- a/docs/admin/code_hosts/github.mdx +++ b/docs/admin/code_hosts/github.mdx @@ -66,6 +66,8 @@ To create a GitHub App and connect it to Sourcegraph: 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**. +> 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. + > 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). ### Multiple installations