Github Check Runs: Support server-side filtering for GitHub Check Runs via check_name
Author: Shiri-shCreated Sep 6, 2026Updated Sep 13, 2026
Labelsservice-badge
:clipboard: Description
Problem: The nameFilter parameter in the GithubCheckRuns service does client-side filtering on the first page of results. For repositories with many check runs, the target check run may be on page 2+ and is never fetched. The badge returns "no check runs" even though the check exists.
Fix: GitHub's List check runs for a git reference API supports a check_name query parameter for server-side filtering. Passing nameFilter as check_name would make GitHub return only matching check runs, eliminating the pagination issue entirely.
I'd be happy to submit a PR for this:)
Source: badges/shields