GitHub: why the checks do not show
GitHub keeps two kinds of checks on a commit. Commit statuses, set by services that call the statuses API, are read with GET /repos/OWNER/REPO/commits/REF/status, which gives "a combined view of commit statuses" and answers 200 or 404. Check runs, which only GitHub Apps can create and in which GitHub Actions reports its jobs (GitHub's documentation gives some check run states to GitHub Actions alone), are read with GET /repos/OWNER/REPO/commits/REF/check-runs. A tool that reads only one of them shows only that kind (checked October 25, 2026).
HTTP/1.1 403 Forbidden
{"message": "Resource not accessible by personal access token", "documentation_url": "https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference", "status": "403"}
A fine-grained token and check runs
- No Checks permission to give: the check runs page says a fine-grained token needs the Checks repository permission (read), but GitHub's list of permissions for fine-grained personal access tokens has no Checks section. Public reports say the Checks permission exists only for GitHub Apps.
Resource not accessible by personal access token(403): public reports met it with fine-grained tokens oncommits/SHA/check-runs,commits/SHA/check-suitesand check run annotations, and on GraphQL'sstatusCheckRollupcontexts; one of them lists what it tried on a private repository in an organization. One report lists a token with Contents, Pull requests, Commit statuses and Actions read that still got 403 for check runs.- What still reads: the same reports read commit statuses (
commits/SHA/statuses, which GitHub's list gives to Commit statuses read, as it does the combined status), and GitHub Actions runs withGET /repos/OWNER/REPO/actions/runs?head_sha=SHA, which GitHub's list gives to Actions read. - Public repositories: the check runs page says the endpoint can be used without authentication or the permission if only public resources are requested.
- A classic token needs the
reposcope for check runs on a private repository, the check runs page says. - Creating check runs: write access to checks in the REST API is only for GitHub Apps. OAuth apps and people's tokens can read check runs and check suites, but cannot create them; the page points them to commit statuses instead (Create a check run).
To see both kinds of checks in one list: Pull Request Inbox for GitHub, a plugin for JetBrains IDEs, reads the commit statuses and the check runs of the head commit and lists each with a link to its details; when GitHub refuses the check runs, it does not call the commit statuses alone a pass.
Other reasons
- 404: the repository is not there for this token, which is also how GitHub answers a private repository the token cannot see; the combined status lists 404 as its only refusal.
- Every status, latest first:
GET /repos/OWNER/REPO/commits/REF/statusesreturns the statuses in reverse chronological order, so the first one in the list is the latest;REFcan be a SHA, a branch name or a tag name (GitHub's list commit statuses for a reference). The combined state isfailureif any context reportserrororfailure, andsuccessonly when the latest status of every context issuccess(GitHub's combined status). - The combined status covers commit statuses only: GitHub's documentation says its state is pending when there are no statuses, whatever the check runs say.
- Commit statuses in GraphQL: a commit's
statusis aStatus, whosecontextsare its commit statuses only (StatusContext),context(name:)looks one up by its context name, andstateis the combined commit status; itscombinedContextslist the status contexts and check runs together (Status). - An empty Checks tab: a pull request's Checks tab is filled only by checks, not by commit statuses, so a service that reports only commit statuses leaves it empty. GitHub Actions creates checks, not commit statuses. A check that points to a line can also show its details on the Files tab (GitHub's status checks).
- More than 1,000 check suites on one commit: the check runs page says only the 1,000 most recent suites are used.
- Automatic check suites turned off for an app: by default, a check suite is created automatically each time code is pushed. A repository admin can turn that off for one GitHub App (
auto_trigger_checkswith itsapp_idandfalse, inPATCH /repos/OWNER/REPO/check-suites/preferences); a push then creates no check suite for that app, and the app has to create one itself (GitHub's REST documentation for check suites). - What a check suite concludes: a check suite reports the highest priority
conclusionof its check runs as its own; with check runs that concludedtimed_out,successandneutral, the suite concludestimed_out(GitHub's about check suites). - More than 1,000 runs of one name in a check suite: GitHub then deletes older check runs with that name automatically, the same page says.
- Older runs of the same check:
GET /repos/OWNER/REPO/commits/REF/check-runsusesfilter=latestby default, which returns only the most recent check runs bycompleted_at;filter=allreturns the earlier ones too.check_nameandapp_idnarrow the list, andper_pageis 30 unless set, up to 100 (GitHub's REST API endpoints for check runs). - A summary over 65,535 characters: a check run's
output.summaryandoutput.texttake Markdown up to 65,535 characters each. A longer one fails the request withInvalid request. Only 65535 characters are allowed; 73554 were supplied., so a tool that puts a whole test or coverage report there sends no check at all (public reports: zyborg/pester-tests-report#27, 5monkeys/cobertura-action#115). Annotations go at most 50 per request; for more, update the check run again, and each update adds to the annotations already there (Create a check run). - Pull requests from forks: the Checks API only looks for pushes in the repository where the check run or suite was created, so for a branch pushed to a fork,
pull_requestscomes back empty (and a check suite'shead_branchis null), the check runs and check suites pages say. - 1,000 statuses for one commit and one context: creating more is refused as a validation error (Create a commit status).
- Deleted after the retention period: since October 1, 2026, checks and commit statuses older than the repository's retention period, 90 days by default, are permanently deleted (see the retention period for checks).
- In the GitHub CLI:
gh pr checksreads the checks and commit statuses of the pull request's last commit and, when there are none, stops withno checks reported on the 'feature' branchand exit code 1, the same code as failed checks; pending checks give 8 (from the GitHub CLI's source, pkg/cmd/pr/checks/checks.go; an open report, cli/cli#14882). Right aftergh pr create,--watchcan stop the same way before the workflows have started (cli/cli#7401, closed as not planned), so wait for the first check before watching. - A workflow started by an event that does not count: checks created by workflow jobs appear in a pull request's checks section and satisfy required status checks only when the run was triggered by
push,pull_request,pull_request_review,pull_request_target,deploymentordeployment_status. A run started withworkflow_dispatchon the head branch can pass on the head commit and still show nothing there. This applies only to workflow jobs, not to checks from an external GitHub App, and a merge queue needsmerge_group(GitHub's checks from some workflow jobs are not evaluated). - Skipped before it ran: a required check from a workflow skipped by path filtering, branch filtering or a commit message stays Pending and blocks merging (see checks skipped by [skip ci]). A job skipped by a conditional reports Success, and a job that depends on a failed job is skipped and may not block merging; for a required check that depends on other jobs, use
always()withneeds(GitHub's handling skipped but required checks). - There, but with no result yet: a check run with the status
pendingis at the front of the queue while the group-based concurrency limit has been reached, andwaitingmeans it waits for a deployment protection rule to be satisfied. Both, likeexpectedandrequested, are statuses only GitHub Actions sets (GitHub's check statuses and conclusions).
What to do
- See every check on a private repository: use a classic token with the
reposcope, or a GitHub App with Checks read. - Keep the fine-grained token: give it Actions read and read the workflow runs for the head commit, plus Commit statuses read for the statuses; or open the pull request's checks on GitHub.
- A merge refused for checks: see why GitHub refused the merge.
- Check which commit has to pass: when the test merge commit has a status, the status checks box reads
Showing checks for the merge commitand that commit is the one that must pass; when it has none, the checks of the latest head commit count (GitHub's conflicts between head commit and test merge commit).
In IntelliJ IDEA: both kinds of checks, from the last commit, in one request
Checked in the IntelliJ IDEA source on October 31, 2026: findPullRequestMergeability.graphql, pullRequestMergeability.graphql, commitWithCheckStatuses.graphql, checkSuite.graphql, GHPRDetailsServiceImpl.kt, GHPRMergeabilityStateBuilder.kt, GHPRStatusViewModel.kt.
The IDE reads the checks with one GraphQL request for the pull request, much like:
commits(last: 1) {
nodes {
commit {
status { contexts { ... } }
checkSuites(first: 100) {
nodes { checkRuns(first: 100) { ... } }
}
}
}
}
So the commit statuses and the check runs of the last commit come together, the commit statuses first in the list and then the check runs. Checks on the earlier commits of the pull request are not read. The list is built from that one answer, so check runs past the first 100 check suites, or past the first 100 runs in a suite, are not in it.
When the request fails, the IDE writes the error to its log, and the status panel takes no checks from that load. How the checks line reads them, from "All required checks have passed" to when it is not shown, is on a required check stays "Expected".
GitHub pull requests in IntelliJ IDEA
Pull Request Inbox for GitHub, a plugin by Lesstep for JetBrains IDEs 2024.1 or later, reads both kinds for the pull request's head commit, commit statuses and check runs, and lists each with a link to its details next to the merge checks. When GitHub refuses the check runs, as it does for a fine-grained token on a private repository, it shows the GitHub Actions workflow runs in their place if the token has Actions read access; without that, it says the check runs were not shown and does not call the commit statuses alone "the checks passed". A classic token with the repo scope shows the check runs themselves. The review inbox, diffs, merge checks and checks are free; approving, commenting and merging are Pro (US$1.50 a month, with a 30-day trial).
Get it on JetBrains Marketplace
GitHub is a trademark of GitHub, Inc.; IntelliJ IDEA is a trademark of JetBrains s.r.o. This page is not affiliated with or endorsed by GitHub, Inc. or JetBrains.
More: GitHub merge refused (405, 409) · GitHub review refused (422) · GitHub search 422 "Validation Failed" · "Resource not accessible by personal access token" · 401 "Bad credentials" · "Resource protected by organization SAML enforcement" · "API rate limit exceeded" · GitHub diff 406 "too_large", 3,000 files · GitHub line comment 422 "must be part of the diff" · GitHub branch update refused (422) · GitHub pull request not created (422, 403) · GitHub auto-merge refused · GitHub draft, ready for review or close refused · GitHub conversation not resolved · GitHub file contents not read · GitHub compare refused (404, 422) · GitHub comment or reply refused (403 locked, archived) · GitHub merge method not allowed (405) · GitHub branch not found (404, 301) · GitHub Enterprise Server not reached · GitHub review request not shown · GitHub pull request list incomplete · GitHub 404 Not Found, renamed repositories (301, 307) · GitHub line comment outdated or not on the diff · GitHub pull requests not updating, notifications late · GitHub suggested change cannot be applied · GitHub required check stuck at "Expected" · GitHub code owner review required · GitHub merge blocked by unresolved conversations · GitHub merge blocked by unsigned commits · GitHub branch that merges through a merge queue · GitHub merge waiting for an approval of the most recent push · GitHub merge waiting for code scanning results · GitHub merge waiting for code quality results · GitHub merge blocked by a code coverage threshold · GitHub merge blocked by license compliance results · GitHub branch locked or its updates restricted · GitHub branch not deleted after merging · GitHub merge waiting for a team's approval (Required reviewers) · GitHub merge blocked by secret scanning alerts · GitHub stacked pull request not merging · GitHub push blocked by push rules · GitHub merge blocked by commit metadata rules · GitHub force push blocked · GitHub issue not closed by a merged pull request · GitHub pull request not checked out locally · GitHub pull request has merge conflicts · GitHub changes requested and dismissing a review · GitHub co-author not credited for a commit · GitHub dependency review check failed · GitHub Dependabot not rebasing its pull request · GitHub fork not syncing with upstream · GitHub pull request base branch not changing · GitHub pull request not reverting · GitHub pull request template not showing · GitHub pull request labels or assignees not added · GitHub pull request not closing or reopening · GitHub push blocked by push protection · GitHub pull request comment hidden · GitHub pull request blocked until deployments succeed · GitHub team review request replaced by members · GitHub pull request file no longer marked Viewed · GitHub pull request marked merged without being merged · GitHub Copilot review does not count as an approval · GitHub checks not running on a pull request a workflow created · GitHub Update branch button not shown on a pull request · GitHub checks failing on a Dependabot pull request · GitHub checks failing on a pull request from a fork · GitHub checks skipped by [skip ci] in a commit message · GitHub checks gone after the retention period · GitHub code review limits in a public repository · GitHub pull requests turned off or limited in a repository · GitHub checks run on every pull request in a stack · GitHub pull request showing commits already squash merged · GitHub pull request not showing a file diff · GitHub push to a pull request branch from a fork refused · GitHub check cancelled on a pull request · GitHub Rebase and merge not available · GitHub merge commit message not what you expected · GitHub pull request shows every line changed · GitHub API request timed out · GitHub pull request image or document diff not shown · GitHub review request refused (422) · GitHub pull request from Copilot: checks not running, approval not counted · GitHub push refused: GH006 and GH013 on a protected branch · GitHub "At least 1 approving review is required", approvals that do not count · GitHub pull request plugins for IntelliJ IDEA, compared · 日本語