29 lines
675 B
GraphQL
29 lines
675 B
GraphQL
|
|
query PullRequestQuery($query: String!) {
|
||
|
|
search(query: $query, first: 10, type: ISSUE) {
|
||
|
|
issueCount
|
||
|
|
edges {
|
||
|
|
node {
|
||
|
|
__typename
|
||
|
|
... on PullRequest {
|
||
|
|
isDraft
|
||
|
|
title
|
||
|
|
state
|
||
|
|
repository {
|
||
|
|
name
|
||
|
|
owner {
|
||
|
|
__typename
|
||
|
|
login
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
cursor
|
||
|
|
}
|
||
|
|
pageInfo {
|
||
|
|
startCursor
|
||
|
|
endCursor
|
||
|
|
hasNextPage
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|