Missing Checks permission in personal access token
#129512
Select Topic AreaBug BodyThere is
But it is missing in the settings:
I wonder if this is a bug or it is intended? |
Replies: 15 comments 11 replies
|
I have same issue facing |
|
We stumble to this issue as well and good to have the resolution soon. |
|
To spend hours building a process based on documented functionality that doesn't exist is more than frustrating, it would be nice if someone from @github could give a response? is the error in the documentation or the omission of the feature? |
This comment was marked as off-topic.
This comment was marked as off-topic.
|
Just in case anyone else finds this thread, here was a response I got from emailing support:
Summary: Use a GitHub App instead of a PAT. |
|
Following check-runs classic token modification deprecation https://github.blog/changelog/2025-02-12-notice-of-upcoming-deprecations-and-breaking-changes-for-github-actions/#changes-to-check-run-status-modification
The documentation says that fine-grained tokens are supported. Thankfully, I found this issue, and it saved me time from debugging it. I wonder why they wrote it in the docs in the first place if they know it's not supported. |
|
It seems the official API docs are ahead of what is actually supported today... API Docs - https://docs.github.com/en/rest/checks/runs?apiVersion=2022-11-28#get-a-check-run
|
|
It sounds like Github is planning to deprecate classic tokens. The community will need Checks to be supported for fine-grained access tokens before that happens. Would love to see progress on this by Github |
|
i'm interested in using fine grained tokens to give agents isolated access to repos. but with this limitation they cannot see if the CI checks pass on github actions. |
|
We are also affected by this limitation. We use fine-grained PATs to give Claude Code (Anthropic's AI coding agent) access to our private organization repositories. Claude Code's web-based environment (Claude Code on claude.ai) relies on fine-grained PATs for GitHub authentication. In this environment, As AI-powered coding agents like Claude Code become more widely adopted, the demand for fine-grained PATs with proper Checks read access is growing rapidly. These agents need to read PR status checks to understand CI results, review PRs effectively, and assist developers in their workflows. The With the planned deprecation of classic PATs, this gap will become a blocker for many teams using AI coding tools in their development workflow. Environment: |
|
I had no clue this was an issue and wasted a good chunk of time and money on it as I thought I could automatically get pull request status via the api. Is there a reason for the limitation? thanks |
|
I ended up working around it by hacking my own |
|
2 years after first report and this is still an issue... how embarrassing! |
|
Still an issue, it would be really quite nice if this got resolved. The Checks API already has support for application permissions, so it hopefully shouldn't be too hard to add it to the Fine Grained PAT permission builder. (Assuming the documentation is correct and the API endpoints already support fine grained PAT and just the permission builder is missing the functionality). Technically the Checks API docs may be correct, but then you've locked the Checks API in a manner that is impossible to make a functional key for. Mismatched API DocsThe Checks API Documentation for Create a Check Run
and Get a Check Run state that fine grained access PATs work with the Check API.
However the PAT limitation documentation says that calling Check API is a known gap. So there is a contradiction here, either the limitation is in the Checks API1 OR it's simply in the fine grained permission builder.
Footnotes
|








Just in case anyone else finds this thread, here was a response I got from emailing support: