Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a comment to a pull Request #380

Closed
sbuisson opened this issue Sep 24, 2017 · 2 comments
Closed

add a comment to a pull Request #380

sbuisson opened this issue Sep 24, 2017 · 2 comments

Comments

@sbuisson
Copy link

Hello,
It's seem that your api don't implement the creation of a comment for a pullRequest:
POST /repos/:owner/:repo/pulls/:number/comments

the doc here:
https://developer.github.com/v3/pulls/comments/#create-a-comment

@iraleigh
Copy link

This was confusing to me at first, but it is important to note that GHPullRequest inherits from GHIssue. This gives it a method .comment()

e.g.

GHPullRequest pullRequest = ...
pullRequest.comment("Blue skies, smiling at me....");

@kohsuke
Copy link
Collaborator

kohsuke commented Jan 21, 2018

This is implemented as GHPullRequestReviewComment which is separate from GHIssueComment

@kohsuke kohsuke closed this as completed Jan 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants