I am trying to run this query with my account by it is only returning repositories which I am contributor:
query ($first: Int, $after: String, $last: Int, $before: String, $sortDirection: OrderDirection!) {
viewer {
repositories(affiliations: [OWNER, ORGANIZATION_MEMBER, COLLABORATOR], first: $first, after: $after, last: $last, before: $before, orderBy: {field: NAME, direction: $sortDirection}, isFork: false) {
totalCount
nodes {
name
url
updatedAt
isFork
primaryLanguage {
name
}
defaultBranchRef {
name
target {
... on Commit {
history(first: 1) {
nodes {
authoredDate
}
}
}
}
}
owner {
login
}
languages(first: 100) {
edges {
size
node {
name
}
}
}
}
pageInfo {
startCursor
endCursor
hasNextPage
hasPreviousPage
}
}
}
}
{
"sortDirection": "ASC",
"first": 100
}