Created
June 28, 2022 15:25
-
-
Save mcleo-d/81e711a537ef5018897851f519fad10e to your computer and use it in GitHub Desktop.
List of GitHub stargazers for named repo in organisation
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!, $repo:String!) { | |
organization(login: $github_org) { | |
repository(name: $repo) { | |
name | |
stargazers(orderBy: {field: STARRED_AT, direction: DESC}, first: 100) { | |
pageInfo { | |
hasNextPage | |
endCursor | |
} | |
edges { | |
starredAt | |
} | |
} | |
} | |
} | |
} | |
variables { | |
"github_org" : "_org", | |
"repo" : "-repo" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment