Implementing StatusCheckRollup
using the REST API
#145111
Unanswered
iainlane
asked this question in
API and Webhooks
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Question
Body
I've been trying to implement an equivalent of GitHub's ✔️/❌ commit summary in code using the REST API. But it's proving quite tricky to get right due to all of the corner cases: things like differences between statuses and checks, exactly which check runs to consider and when, how to decide if we're "pending" or not.
The GraphQL API has a field called
StatusCheckRollup
. As far as I can tell this is what's powering that indicator. I'm wondering if it would be possible to do one or both of the following:StatusCheckRollup
algorithm works: which checks/statuses with which fields are included and when.Which would really be super helpful. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions