A basic first pass on gh pr checks that shows all check runs for a given PR's latest commit.
38 lines
1.1 KiB
JSON
38 lines
1.1 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"
|
|
},
|
|
{
|
|
"state": "FAILURE",
|
|
"name": "a status",
|
|
"targetUrl": "sweet link"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]}
|
|
} } } }
|