Last active
December 19, 2017 20:52
-
-
Save aviflax/2cfb09435eceecc1a8d0e5a79098e4aa to your computer and use it in GitHub Desktop.
Get most recent committers from all repos of a GitHub org
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 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