You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TLDR: I suggest we make it easier for you to post review comments on the CLI
@shindere I had a look at including regular comments in the result of the query and it's a bit more tricky than expected.
The request we have is basically asking for the contributions from the viewer, so we retrieve a contributionsCollection that contains issueContributions, pullRequestContributions, pullRequestReviewContributions and repositoryContributions. And we can easily filter the contributions with the time they happened. So regular comments are not considered contributions and are not contained in the collection.
The "normal way" to get comments would be through a separate field of the query and it is not possible to filter with the date they were posted on.
So unless the comments are one day added to the list of contributions, which I didn't find on their issue tracker, we are stuck here.
But, there is a way to do review comments using the github REST API (link here for reference). Would that be acceptable for you if we develop a small tool doing the right curl request with the right arguments so you can post review comments through the CLI?
gpetiot
changed the title
Add the PR/issues comments to the result of okra generate
Add the PR/issues comments to the activity report
Mar 13, 2024
reported by @shindere
Tasks
The text was updated successfully, but these errors were encountered: