Skip to content

Instantly share code, notes, and snippets.

@aviflax
Last active December 19, 2017 20:52
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 aviflax/2cfb09435eceecc1a8d0e5a79098e4aa to your computer and use it in GitHub Desktop.
Save aviflax/2cfb09435eceecc1a8d0e5a79098e4aa to your computer and use it in GitHub Desktop.
Get most recent committers from all repos of a GitHub org
query RecentCommitters($org: String!) {
organization(login: $org) {
name
repositories(first: 100) {
edges {
node {
name
defaultBranchRef {
target {
... on Commit {
history(first: 5) {
nodes {
authoredDate
author {
name
}
}
}
}
}
}
}
cursor
}
pageInfo {
hasNextPage
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment