Skip to content

Add posting to pull-request review comment capability #63

@gentlementlegen

Description

@gentlementlegen

The SDK should be able to post to pull-request threads. The API is a bit different for these as it should directly use pull from the REST API.

What happens right now:

  • if "pull_request" is present in the payload, try to post to the pull-request itself
  • if we wanted to post to the thread, we would need to use octokit.rest.pulls.createReplyForReviewComment or createReviewComment
  • same thing goes for updating the comment that needs a different API
  • maybe we could consider having an extra argument in the options to specify a pull-request comment ID

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions