graphql query to get list of github repos code example
Example: github graphql query to get your repos
{
viewer {
repositories(first: 100, after: properCursorHereOrOmitIfFirstPage, orderBy: {field:NAME, direction:ASC}) {
pageInfo {hasNextPage, endCursor}
nodes {
name
url
isPrivate
owner {
login
}
defaultBranchRef {
name
}
}
}
}
}