A basic first pass on gh pr checks that shows all check runs for a given PR's latest commit.
41 lines
1.2 KiB
JSON
41 lines
1.2 KiB
JSON
{ "data": { "repository": { "pullRequest": {
|
|
"number": 123,
|
|
"commits": {
|
|
"nodes": [
|
|
{
|
|
"commit": {
|
|
"oid": "abc",
|
|
"statusCheckRollup": {
|
|
"contexts": {
|
|
"nodes": [
|
|
{
|
|
"conclusion": "SUCCESS",
|
|
"status": "COMPLETED",
|
|
"name": "cool tests",
|
|
"completedAt": "2020-08-27T19:00:12Z",
|
|
"startedAt": "2020-08-27T18:58:46Z",
|
|
"detailsUrl": "sweet link"
|
|
},
|
|
{
|
|
"conclusion": "SUCCESS",
|
|
"status": "COMPLETED",
|
|
"name": "rad tests",
|
|
"completedAt": "2020-08-27T19:00:12Z",
|
|
"startedAt": "2020-08-27T18:58:46Z",
|
|
"detailsUrl": "sweet link"
|
|
},
|
|
{
|
|
"conclusion": "",
|
|
"status": "IN_PROGRESS",
|
|
"name": "slow tests",
|
|
"completedAt": "2020-08-27T19:00:12Z",
|
|
"startedAt": "2020-08-27T18:58:46Z",
|
|
"detailsUrl": "sweet link"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]}
|
|
} } } }
|