From ea62456cb7b8b7c14b36f4a4172d28d871a1ac59 Mon Sep 17 00:00:00 2001 From: Michael Bahr <1830132+bahrmichael@users.noreply.github.com> Date: Tue, 8 Jul 2025 08:38:25 +0200 Subject: [PATCH] fix: batches now supports fine-grained pat --- docs/admin/code_hosts/github.mdx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/docs/admin/code_hosts/github.mdx b/docs/admin/code_hosts/github.mdx index 2f5e52fef..2de463866 100644 --- a/docs/admin/code_hosts/github.mdx +++ b/docs/admin/code_hosts/github.mdx @@ -261,15 +261,11 @@ Fine-grained tokens can access public repositories, but can only access the priv When creating your fine-grained access token, select the following permissions depending on the purpose of the token: -| Feature | Required token permissions | +| Feature | Required token permissions | | ----------------------------------------------------- | ------------------------------------------------------ | | [Sync private repositories](#private-repositories) | `Repository permissions: Contents - Access: Read-only` | | [Sync repository permissions][permissions] | `Repository permissions: Contents - Access: Read-only` | -| [Batch changes][batch-changes] | `Unsupported` | - - - -> 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). +| [Batch changes][batch-changes] | `Repository permissions: Contents: Read and write, Metadata: Read-only, Pull requests: Read and write, Workflows: Read and write` | ### Private repositories