No check suites returned?


#1

With this query:

query {
    repository(owner: "mathstuf", name: "github-sandbox") {
        object(oid: "966c4fba2da29850dda5f9593cb52f1259ffff5e") {
            ... on Commit {
                checkSuites(first: 100) {
                    checkSuite: nodes {
                        branch {
                            name
                        }

                        checkRuns(first: 100) {
                            checkRuns: nodes {
                                conclusion
                                name
                                summary
                            }
                        }
                    }
                }
            }
        }
    }
}

I get one (empty) check suite and no check runs even though the commit has check runs from its PR. My real query has some filters on it, but taking them out shows that there really is nothing being returned. Thoughts?


#2

Turns out that check runs are different than commit statuses. By sending check runs and not commit statuses, they show up properly.