Skip to content

How can I query about code owners for a PR? #24702

Discussion options

You must be logged in to vote

Hi @payneChen o/

Since this OP, there have been some internal goings-on, with relation to CODEOWNERS data being available from our APIs.

Within the PullRequest object for GraphQL, we have the reviewDecision field, which you can see, here:

docs.github.com

Objects - GitHub Docs

Continuing with GraphQL, we also have the PullRequestReviewDecision enum, which includes the status values for review requests:

docs.github.com

Enums - GitHub Docs

As far as I’m aware (currently) we have no REST functionality, or a specific CODEOWNER endpoint as a single source for this information.

Very curious to know if the above solves for your use case. If it doesn’t, I would highly recommend submi…

Replies: 17 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@rewanthtammana
Comment options

Comment options

You must be logged in to vote
1 reply
@kryocentric
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet