Skip to content

Instantly share code, notes, and snippets.

@mcleo-d
Created June 28, 2022 15:25
Show Gist options
  • Save mcleo-d/81e711a537ef5018897851f519fad10e to your computer and use it in GitHub Desktop.
Save mcleo-d/81e711a537ef5018897851f519fad10e to your computer and use it in GitHub Desktop.
List of GitHub stargazers for named repo in organisation
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