Github Get Pr Status Checks
github_get_pr_status_checksRetrieve CI check runs and commit statuses for a pull request's HEAD commit, and flag truncated results when pagination limits leave a partial view.
Instructions
Return the CI check runs and commit status for a pull request's HEAD commit.
Pages through up to MAX_STATUS_CHECKS_SUITE_PAGES of check suites (50 per page). For any suite whose first 100 runs are not the full set, drains up to MAX_STATUS_CHECKS_RUN_PAGES_PER_SUITE additional pages via the supplemental query. If either cap is hit before the connection is exhausted, the result is flagged truncated=True and overall is downgraded from 'passing' to 'unknown' so the caller does not act on a partial view. head_sha names the commit read, and is None when GitHub resolves no commit for the pull request. See #515.
Workflow and conventions: github_get_skill('ci-checks').
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"repo_owner": "<repo_owner>",
"repo_name": "<repo_name>",
"pr_number": "<pr_number>"
},
"name": "github_get_pr_status_checks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pr_number | Yes | ||
| repo_name | Yes | ||
| repo_owner | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| overall | Yes | ||
| head_sha | Yes | ||
| pr_number | Yes | ||
| truncated | Yes | ||
| check_runs | Yes | ||
| commit_statuses | Yes |