PR checks
gh_pr_checksReport a pull request's CI check counts by state and list failing or pending checks, defaulting to the current branch's PR.
Instructions
Report a pull request's CI checks as counts per state plus the failing and pending checks. Defaults to the current branch's PR; passing checks are counted, not listed, unless all=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pr | No | PR number, URL or branch (default: the current branch's PR) | |
| all | No | List passing and skipped checks too (default: only the rest) | |
| cwd | No | Repository path (default: the server's working directory) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| checks | Yes | ||
| counts | Yes | ||
| retained | No |