octokit / rest.js

GitHub REST API client for JavaScript
https://octokit.github.io/rest.js
MIT License
548 stars 63 forks source link

[FEAT]: API to get issue comments by author #440

Closed devurandom closed 3 months ago

devurandom commented 3 months ago

Describe the need

I would like to list all comments by a certain author on a certain issue / PR.

I access the GitHub API via actions/github-script@v7 in a GitHub Action. The github.rest.issues.listComments function currently only supports filtering by time (since), but not by author: https://octokit.github.io/rest.js/v20#issues-list-comments

SDK Version

actions/github-script@v7

API Version

No response

Relevant log output

No response

Code of Conduct

github-actions[bot] commented 3 months ago

👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labeled with Status: Up for grabs. You & others like you are the reason all of this works! So thank you & happy coding! 🚀

wolfy1339 commented 3 months ago

Unfortunately this isn't the proper place for feature requests for the GitHub API. This package only wraps the API into helper methods with no custom code on top.

https://github.com/orgs/community/discussions/categories/api-and-webhooks is the proper place to request new API features

devurandom commented 2 months ago

Thanks! I created a request for this: https://github.com/orgs/community/discussions/131980