| 1 | query YourPullRequestsWithoutMergeQueueQuery($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 | baseRef { |
| 17 | target { |
| 18 | oid |
| 19 | } |
| 20 | name |
| 21 | } |
| 22 | headRef { |
| 23 | target { |
| 24 | oid |
| 25 | } |
| 26 | name |
| 27 | } |
| 28 | commits(last: 100) { |
| 29 | nodes { |
| 30 | commit { |
| 31 | oid |
| 32 | statusCheckRollup { |
| 33 | state |
| 34 | } |
| 35 | } |
| 36 | } |
| 37 | } |
| 38 | } |
| 39 | } |
| 40 | } |
| 41 | } |
| 42 |