Skip to content

Instantly share code, notes, and snippets.

@flatcap
Created October 4, 2023 14:49
Show Gist options
  • Save flatcap/0de13280a85c6f9824d76e9acf300047 to your computer and use it in GitHub Desktop.
Save flatcap/0de13280a85c6f9824d76e9acf300047 to your computer and use it in GitHub Desktop.
get pr commits
query($pr_num: Int!)
{
organization(login: "neomutt") {
repository(name: "neomutt") {
pullRequest(number: $pr_num) {
commits(first: 10) {
nodes {
commit {
oid
}
}
}
mergeCommit {
oid
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment