Get Pull Request Checks Tool
get_pull_request_checks_toolGet a pull request's CI verdict and merge readiness by classifying checks as passed, failing, pending, or skipped; skipped checks are not failures.
Instructions
Get a CI verdict for a PR that distinguishes skipped from failed.
Classifies every check-run and commit-status context into passed,
failing, pending, or skipped. SKIPPED checks are NOT failures. Use the
returned ready_to_merge boolean as the signal for whether the PR is
clear to merge (True only when nothing is failing or pending and the PR
is not known-unmergeable).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository name | |
| owner | No | Repository owner (defaults to GITHUB_DEFAULT_ORG if unset) | |
| pull_number | Yes | Pull request number |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||