Last active
June 28, 2022 15:22
-
-
Save mcleo-d/fd7b4eec543a0226e1bb86ebb1cfd616 to your computer and use it in GitHub Desktop.
Top 100 repos in a named GitHub organisation, including first page of STARGAZERS, in descending order
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query($github_org:String!) { | |
organization(login: $github_org) { | |
repositories(orderBy: {field: STARGAZERS, direction: DESC}, first: 100) { | |
pageInfo { | |
startCursor | |
hasNextPage | |
endCursor | |
} | |
nodes { | |
name | |
stargazers(orderBy: {field: STARRED_AT, direction: DESC}, first: 100) { | |
pageInfo { | |
hasNextPage | |
endCursor | |
} | |
edges { | |
starredAt | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment