Skip to content

Commit ea62456

Browse files
authored
fix: batches now supports fine-grained pat
1 parent f284e90 commit ea62456

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

docs/admin/code_hosts/github.mdx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -261,15 +261,11 @@ Fine-grained tokens can access public repositories, but can only access the priv
261261

262262
When creating your fine-grained access token, select the following permissions depending on the purpose of the token:
263263

264-
| Feature | Required token permissions |
264+
| Feature | Required token permissions |
265265
| ----------------------------------------------------- | ------------------------------------------------------ |
266266
| [Sync private repositories](#private-repositories) | `Repository permissions: Contents - Access: Read-only` |
267267
| [Sync repository permissions][permissions] | `Repository permissions: Contents - Access: Read-only` |
268-
| [Batch changes][batch-changes] | `Unsupported` |
269-
270-
271-
272-
> WARNING: Fine-grained tokens don't support the `repositoryQuery` code host connection option or batch changes. Both of these features rely on GitHub's GraphQL API, which is [unsupported by fine-grained access tokens](https://docs.github.com/en/graphql/guides/forming-calls-with-graphql#authenticating-with-graphql).
268+
| [Batch changes][batch-changes] | `Repository permissions: Contents: Read and write, Metadata: Read-only, Pull requests: Read and write, Workflows: Read and write` |
273269

274270
### Private repositories
275271

0 commit comments

Comments
 (0)