Skip to content

[Feature][GitHub] Get all normal comments, review, review comments and store them in table.pull_request_comments #2452

@Startrekzky

Description

@Startrekzky

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Description

Get all GitHub PR's normal comments, review, review comments, and store them in the table.pull_request_comments.
I need all comments' id, body, and type.

For values of the type field in the table.pull_request_comments:

  1. for normal comments: NORMAL
  2. for review comments, ie. diff/inline comments: DIFF. Both are fine to me, just make sure it's consistent with GitLab
  3. for reviews' body (exist in GitHub but not GitLab, see pic below): REVIEW

Use case

In order to calculate metrics like 'PR pickup time' and 'PR review time', I have to gather all types of PR comments' submitted/created time.

Related issues

#1746
#2268

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

type/feature-requestThis issue is a proposal for something new

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions