Last active
August 28, 2024 17:24
-
-
Save mingliangguo/b22c892e8039a17639f9546c96cb36a5 to your computer and use it in GitHub Desktop.
Github GraphQL API to find all comments by a user #graphql #github
This file contains hidden or 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
{ | |
user(login: "john-doe") { | |
commitComments(first: 100) { | |
nodes { | |
commit { | |
repository { | |
nameWithOwner | |
} | |
abbreviatedOid | |
} | |
body | |
} | |
} | |
issueComments(first: 100) { | |
nodes { | |
repository { | |
nameWithOwner | |
} | |
issue { | |
number | |
} | |
pullRequest { | |
number | |
} | |
body | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This will not include comments made as part of a PR review