Skip to content

Instantly share code, notes, and snippets.

@malantin
Last active September 20, 2022 15:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save malantin/cf4e35c5a72e085fd5136b1f1d70e574 to your computer and use it in GitHub Desktop.
Save malantin/cf4e35c5a72e085fd5136b1f1d70e574 to your computer and use it in GitHub Desktop.
Get users for repos in orgs
{
organization(login: "OrgName") {
repositories(first: 100, after: null) {
nodes {
id
nameWithOwner
description
url
collaborators(first: 20, after: null) {
edges {
permission
node {
id
name
login
}
}
pageInfo {
hasNextPage
endCursor
}
}
}
pageInfo {
hasNextPage
endCursor
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment