Skip to content

Commit d8b81a7

Browse files
authored
docs(batches): update limitations for github apps (#604)
Better structure of of limitations
1 parent 4ce4683 commit d8b81a7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/batch-changes/configuring-credentials.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -194,12 +194,12 @@ When Sourcegraph is configured to [clone repositories using SSH via the `gitURLT
194194

195195
EXPERIMENTAL: Using GitHub Apps to authenticate Batch Changes is currently experimental, and there may still be some rough edges.
196196

197-
Features currently not supported are
198-
- running a batch change with `fork: true` that targets a public repository on github.com
197+
GitHub apps follow the same concepts as [personal and global access tokens](#types-of-access-tokens-used-by-batch-changes).
199198

200-
This is only available for GitHub code hosts.
199+
### Limitations
201200

202-
GitHub apps follow the same concepts as [personal and global access tokens](#types-of-access-tokens-used-by-batch-changes).
201+
- GitHub apps can only be used with GitHub code hosts.
202+
- The forking mechanism (`fork:true`) is only supported if the GitHub app has access to all repositories of the installation, and if the origin repository and the fork are in the same organization that the GitHub app is installed to ([GitHub Docs](https://docs.github.com/en/rest/repos/forks?apiVersion=2022-11-28#create-a-fork)).
203203

204204
### Adding a GitHub app
205205

0 commit comments

Comments
 (0)