Skip to content

Instantly share code, notes, and snippets.

@leeky
Created September 23, 2021 16:20
Show Gist options
  • Save leeky/0b567dc010381d2d137ed49e1ff836a6 to your computer and use it in GitHub Desktop.
Save leeky/0b567dc010381d2d137ed49e1ff836a6 to your computer and use it in GitHub Desktop.
query ($endCursor: String) {
repository(name: "judiciary-middleware", owner: "dxw") {
pullRequests(
states: MERGED
first: 25
after: $endCursor
orderBy: { field: CREATED_AT, direction: DESC }
) {
totalCount
pageInfo {
endCursor
hasNextPage
}
nodes {
number
title
author {
login
}
state
mergeCommit {
oid
authoredDate
}
publishedAt
mergedAt
commits(first: 50) {
nodes {
commit {
oid
committedDate
}
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment