Skip to content

Commit ca6797f

Browse files
authored
Specify the need for classic PAT for indexing outside org's private repos (#803)
Follow up to (this ticket)[https://sourcegraph.zendesk.com/agent/tickets/20672]. We don't specify that the PAT needs to be Classic, so I added a <callout> to make it more clear.
1 parent 9c253e1 commit ca6797f

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
@@ -220,6 +220,8 @@ When creating your fine-grained access token, select the following permissions d
220220

221221
To clone and search private repositories, we need [a GitHub access token](#github-api-access) with the required scopes and at least read access to the relevant private repositories.
222222

223+
<Callout type="note">Due to GitHub limitations, non-admins of an outside organization must use a (Classic personal access token)[https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#types-of-personal-access-tokens] to provision the appropriate permissions for Sourcegraph to index that organization's private repositories.</Callout>
224+
223225
For more details, see [GitHub API access](#github-api-access).
224226

225227
## Selecting repositories to sync

0 commit comments

Comments
 (0)