You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add list_check_runs_for_ref to the GitHub client (#96)
Adds a `list_check_runs_for_ref` method to the GitHub client that hits
`GET /repos/{owner}/{repo}/commits/{ref}/check-runs` to fetch check runs
for a commit SHA (or git ref).
This will allow us to go from PR number to the latest check runs in just
two steps:
- `/repos/{owner}/{repo}/pulls/{pull_number}` -> we can get the
`head.sha` to get the head commit SHA
- `/repos/{owner}/{repo}/commits/{head.sha}/check-runs?filter=latest` ->
we can filter by the latest check run, essentially the latest check
suite
part of CW-1428
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments