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 <michael.kriese@gmx.de>

* Revise Fine-grained PAT section with lint fix

---------

Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Dev Vardhan Singh Bhadauria <your-email@gmail.com>
This commit is contained in:
authored and GitHub committed 2026-05-07 20:43:10 +00:00
1 parent f6166e7f7b
commit fef7882e2c
1 file changed
+2 -1
+2 -1
View File
@@ -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).