464 lines
15 KiB
JSON
464 lines
15 KiB
JSON
{
|
|
"data": {
|
|
"repository": {
|
|
"pullRequests": {
|
|
"totalCount": 0,
|
|
"edges": []
|
|
}
|
|
},
|
|
"viewerCreated": {
|
|
"totalCount": 4,
|
|
"edges": [
|
|
{
|
|
"node": {
|
|
"number": 8,
|
|
"title": "Strawberries are not actually berries",
|
|
"state": "OPEN",
|
|
"url": "https://github.com/cli/cli/pull/8",
|
|
"headRefName": "strawberries",
|
|
"mergeable": "UNKNOWN",
|
|
"reviewDecision": "CHANGES_REQUESTED",
|
|
"statusCheckRollup": {
|
|
"nodes": [
|
|
{
|
|
"commit": {
|
|
"statusCheckRollup": {
|
|
"contexts": {
|
|
"checkRunCount": 0,
|
|
"checkRunCountsByState": [
|
|
{
|
|
"state": "ACTION_REQUIRED",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "CANCELLED",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "COMPLETED",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "FAILURE",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "IN_PROGRESS",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "NEUTRAL",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "PENDING",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "QUEUED",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "SKIPPED",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "STALE",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "STARTUP_FAILURE",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "SUCCESS",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "TIMED_OUT",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "WAITING",
|
|
"count": 0
|
|
}
|
|
],
|
|
"statusContextCount": 1,
|
|
"statusContextCountsByState": [
|
|
{
|
|
"state": "EXPECTED",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "ERROR",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "FAILURE",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "PENDING",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "SUCCESS",
|
|
"count": 1
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"node": {
|
|
"number": 7,
|
|
"title": "Bananas are berries",
|
|
"state": "OPEN",
|
|
"url": "https://github.com/cli/cli/pull/7",
|
|
"headRefName": "banananana",
|
|
"reviewDecision": "APPROVED",
|
|
"baseRef": {
|
|
"branchProtectionRule": {
|
|
"requiredApprovingReviewCount": 0
|
|
}
|
|
},
|
|
"latestReviews": {
|
|
"nodes": [
|
|
{
|
|
"author": {
|
|
"login": "bob"
|
|
},
|
|
"state": "APPROVED"
|
|
},
|
|
{
|
|
"author": {
|
|
"login": "stella"
|
|
},
|
|
"state": "CHANGES_REQUESTED"
|
|
},
|
|
{
|
|
"author": {
|
|
"login": "alice"
|
|
},
|
|
"state": "APPROVED"
|
|
}
|
|
]
|
|
},
|
|
"statusCheckRollup": {
|
|
"nodes": [
|
|
{
|
|
"commit": {
|
|
"statusCheckRollup": {
|
|
"contexts": {
|
|
"checkRunCount": 1,
|
|
"checkRunCountsByState": [
|
|
{
|
|
"state": "ACTION_REQUIRED",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "CANCELLED",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "COMPLETED",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "FAILURE",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "IN_PROGRESS",
|
|
"count": 1
|
|
},
|
|
{
|
|
"state": "NEUTRAL",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "PENDING",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "QUEUED",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "SKIPPED",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "STALE",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "STARTUP_FAILURE",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "SUCCESS",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "TIMED_OUT",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "WAITING",
|
|
"count": 0
|
|
}
|
|
],
|
|
"statusContextCount": 1,
|
|
"statusContextCountsByState": [
|
|
{
|
|
"state": "EXPECTED",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "ERROR",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "FAILURE",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "PENDING",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "SUCCESS",
|
|
"count": 1
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"node": {
|
|
"number": 6,
|
|
"title": "Avocado is probably not a berry",
|
|
"state": "OPEN",
|
|
"url": "https://github.com/cli/cli/pull/6",
|
|
"headRefName": "avo",
|
|
"mergeable": "MERGEABLE",
|
|
"reviewDecision": "REVIEW_REQUIRED",
|
|
"statusCheckRollup": {
|
|
"nodes": [
|
|
{
|
|
"commit": {
|
|
"statusCheckRollup": {
|
|
"contexts": {
|
|
"checkRunCount": 2,
|
|
"checkRunCountsByState": [
|
|
{
|
|
"state": "ACTION_REQUIRED",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "CANCELLED",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "COMPLETED",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "FAILURE",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "IN_PROGRESS",
|
|
"count": 1
|
|
},
|
|
{
|
|
"state": "NEUTRAL",
|
|
"count": 1
|
|
},
|
|
{
|
|
"state": "PENDING",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "QUEUED",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "SKIPPED",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "STALE",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "STARTUP_FAILURE",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "SUCCESS",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "TIMED_OUT",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "WAITING",
|
|
"count": 0
|
|
}
|
|
],
|
|
"statusContextCount": 1,
|
|
"statusContextCountsByState": [
|
|
{
|
|
"state": "EXPECTED",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "ERROR",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "FAILURE",
|
|
"count": 1
|
|
},
|
|
{
|
|
"state": "PENDING",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "SUCCESS",
|
|
"count": 0
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"node": {
|
|
"number": 5,
|
|
"title": "Why can't berries get along?",
|
|
"state": "OPEN",
|
|
"url": "https://github.com/cli/cli/pull/5",
|
|
"headRefName": "strawberries",
|
|
"mergeable": "CONFLICTING",
|
|
"statusCheckRollup": {
|
|
"nodes": [
|
|
{
|
|
"commit": {
|
|
"statusCheckRollup": {
|
|
"contexts": {
|
|
"checkRunCount": 0,
|
|
"checkRunCountsByState": [
|
|
{
|
|
"state": "ACTION_REQUIRED",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "CANCELLED",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "COMPLETED",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "FAILURE",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "IN_PROGRESS",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "NEUTRAL",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "PENDING",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "QUEUED",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "SKIPPED",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "STALE",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "STARTUP_FAILURE",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "SUCCESS",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "TIMED_OUT",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "WAITING",
|
|
"count": 0
|
|
}
|
|
],
|
|
"statusContextCount": 1,
|
|
"statusContextCountsByState": [
|
|
{
|
|
"state": "EXPECTED",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "ERROR",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "FAILURE",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "PENDING",
|
|
"count": 0
|
|
},
|
|
{
|
|
"state": "SUCCESS",
|
|
"count": 1
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"reviewRequested": {
|
|
"totalCount": 0,
|
|
"edges": []
|
|
}
|
|
}
|
|
}
|