mirror of
https://github.com/git-touch/git-touch
synced 2024-12-18 19:22:54 +01:00
44 lines
733 B
GraphQL
44 lines
733 B
GraphQL
query GhIssues($owner: String!, $name: String!, $cursor: String) {
|
|
repository(owner: $owner, name: $name) {
|
|
owner {
|
|
login
|
|
}
|
|
name
|
|
issues(
|
|
states: OPEN
|
|
orderBy: { field: CREATED_AT, direction: DESC }
|
|
first: 30
|
|
after: $cursor
|
|
) {
|
|
pageInfo {
|
|
hasNextPage
|
|
endCursor
|
|
}
|
|
nodes {
|
|
repository {
|
|
owner {
|
|
login
|
|
}
|
|
name
|
|
}
|
|
number
|
|
title
|
|
updatedAt
|
|
author {
|
|
login
|
|
avatarUrl
|
|
}
|
|
labels(first: 10) {
|
|
nodes {
|
|
name
|
|
color
|
|
}
|
|
}
|
|
comments {
|
|
totalCount
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|