Created
October 4, 2023 14:49
-
-
Save flatcap/0de13280a85c6f9824d76e9acf300047 to your computer and use it in GitHub Desktop.
get pr commits
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($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