rtCamp/action-phpcs-code-review

Limit number of comments per check?

matthewwo opened this issue · 2 comments

Correct me if I'm wrong, but I believe the action will output all issues as separate code review comments to the PR. This causes issue to the PR not be able to be opened if there are too many comments made by the bot (over 200), it will error when accessing the PR has too many code review comments.

image

While I think this error is related to GitHub, I feel like it would also help if this GitHub action have an option to limit the max number of code review comments it will make per run.

It seems like this option is available in vip-go-ci, would be nice to be able to expose this as an option for this github action.

https://github.com/Automattic/vip-go-ci#limiting-review-comments

We've been getting a similar issue recently. Would support this change :)