Github Get Pr Status Checks
github_get_pr_status_checksRetrieve CI check runs and commit status for a pull request's HEAD commit, flagging incomplete results as truncated and downgrading overall status to unknown to prevent acting on partial views.
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('pr-analysis').
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 |