From fef7882e2c7377fd438898944dd399f6d7be271e Mon Sep 17 00:00:00 2001 From: ufo_believer Date: Fri, 8 May 2026 02:13:10 +0530 Subject: [PATCH] docs: Revise Fine-grained Personal Access Tokens section (#1030) * Revise Fine-grained Personal Access Tokens section Updated the section on Fine-grained Personal Access Tokens to reflect GitHub's support for them and noted potential permission gaps. * Update README.md Co-authored-by: Michael Kriese * Revise Fine-grained PAT section with lint fix --------- Co-authored-by: Michael Kriese Co-authored-by: Dev Vardhan Singh Bhadauria --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1f66d512..6cb2310d 100644 --- a/README.md +++ b/README.md @@ -170,7 +170,8 @@ You can also create a token without a specific scope, which gives read-only acce This token is only used by Renovate, see the [token configuration](https://docs.renovatebot.com/self-hosted-configuration/#token), and gives it access to the repositories. The name of the secret can be anything as long as it matches the argument given to the `token` option. -Fine-grained Personal Access Tokens can work for Renovate, but they still have some permission gaps (for example, missing `Checks` access), so a classic token is still the safer default if you run into authentication or automerge limitations. +Fine-grained Personal Access Tokens are now supported, as GitHub has [implemented GraphQL API support for them](https://github.com/github/roadmap/issues/622). +However, some permission gaps may remain (for example, around `Checks` access), so a classic token is still the safer default if you run into authentication or automerge limitations. Note that the [`GITHUB_TOKEN`](https://help.github.com/en/actions/configuring-and-managing-workflows/authenticating-with-the-github_token#permissions-for-the-github_token) secret can't be used for authenticating Renovate because it has too restrictive permissions. In particular, using the `GITHUB_TOKEN` to create a new `Pull Request` from more types of Github Workflows results in `Pull Requests` that [do not trigger your `Pull Request` and `Push` CI events](https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow).