813 B45 lines
Blame
1query YourPullRequestsQuery($searchQuery: String!, $numToFetch: Int!) {
2 search(query: $searchQuery, type: ISSUE, first: $numToFetch) {
3 nodes {
4 ... on PullRequest {
5 __typename
6 number
7 title
8 body
9 state
10 isDraft
11 url
12 reviewDecision
13 comments {
14 totalCount
15 }
16 mergeQueueEntry {
17 estimatedTimeToMerge
18 }
19 baseRef {
20 target {
21 oid
22 }
23 name
24 }
25 headRef {
26 target {
27 oid
28 }
29 name
30 }
31 commits(last: 100) {
32 nodes {
33 commit {
34 oid
35 statusCheckRollup {
36 state
37 }
38 }
39 }
40 }
41 }
42 }
43 }
44}
45