github.com/ungtb10d/cli/v2@v2.0.0-20221110210412-98537dd9d6a1/pkg/cmd/pr/status/fixtures/prStatusChecks.json (about) 1 { 2 "data": { 3 "repository": { 4 "pullRequests": { 5 "totalCount": 0, 6 "edges": [] 7 } 8 }, 9 "viewerCreated": { 10 "totalCount": 4, 11 "edges": [ 12 { 13 "node": { 14 "number": 8, 15 "title": "Strawberries are not actually berries", 16 "state": "OPEN", 17 "url": "https://github.com/ungtb10d/cli/pull/8", 18 "headRefName": "strawberries", 19 "mergeable": "UNKNOWN", 20 "reviewDecision": "CHANGES_REQUESTED", 21 "statusCheckRollup": { 22 "nodes": [ 23 { 24 "commit": { 25 "statusCheckRollup": { 26 "contexts": { 27 "nodes": [ 28 { 29 "state": "SUCCESS" 30 } 31 ] 32 } 33 } 34 } 35 } 36 ] 37 } 38 } 39 }, 40 { 41 "node": { 42 "number": 7, 43 "title": "Bananas are berries", 44 "state": "OPEN", 45 "url": "https://github.com/ungtb10d/cli/pull/7", 46 "headRefName": "banananana", 47 "reviewDecision": "APPROVED", 48 "baseRef": { 49 "branchProtectionRule": { 50 "requiredApprovingReviewCount": 0 51 } 52 }, 53 "latestReviews": { 54 "nodes": [ 55 { 56 "author": { 57 "login": "bob" 58 }, 59 "state": "APPROVED" 60 }, 61 { 62 "author": { 63 "login": "stella" 64 }, 65 "state": "CHANGES_REQUESTED" 66 }, 67 { 68 "author": { 69 "login": "alice" 70 }, 71 "state": "APPROVED" 72 } 73 ] 74 }, 75 "statusCheckRollup": { 76 "nodes": [ 77 { 78 "commit": { 79 "statusCheckRollup": { 80 "contexts": { 81 "nodes": [ 82 { 83 "status": "IN_PROGRESS", 84 "conclusion": "" 85 } 86 ] 87 } 88 } 89 } 90 } 91 ] 92 } 93 } 94 }, 95 { 96 "node": { 97 "number": 6, 98 "title": "Avocado is probably not a berry", 99 "state": "OPEN", 100 "url": "https://github.com/ungtb10d/cli/pull/6", 101 "headRefName": "avo", 102 "mergeable": "MERGEABLE", 103 "reviewDecision": "REVIEW_REQUIRED", 104 "statusCheckRollup": { 105 "nodes": [ 106 { 107 "commit": { 108 "statusCheckRollup": { 109 "contexts": { 110 "nodes": [ 111 { 112 "status": "IN_PROGRESS", 113 "conclusion": "" 114 }, 115 { 116 "state": "FAILURE" 117 }, 118 { 119 "status": "COMPLETED", 120 "conclusion": "NEUTRAL" 121 } 122 ] 123 } 124 } 125 } 126 } 127 ] 128 } 129 } 130 }, 131 { 132 "node": { 133 "number": 5, 134 "title": "Why can't berries get along?", 135 "state": "OPEN", 136 "url": "https://github.com/ungtb10d/cli/pull/5", 137 "headRefName": "strawberries", 138 "mergeable": "CONFLICTING", 139 "statusCheckRollup": { 140 "nodes": [ 141 { 142 "commit": { 143 "statusCheckRollup": { 144 "contexts": { 145 "nodes": [ 146 { 147 "state": "SUCCESS" 148 } 149 ] 150 } 151 } 152 } 153 } 154 ] 155 } 156 } 157 } 158 ] 159 }, 160 "reviewRequested": { 161 "totalCount": 0, 162 "edges": [] 163 } 164 } 165 }