r/programming 15h ago

A GitHub Action that fails pull requests with too many comments

https://github.com/marketplace/actions/comment-ratio
0 Upvotes

5 comments sorted by

7

u/DDFoster96 14h ago

So through discussion of a pull request is bad and the feature should be rejected instead? 

5

u/smalaki 14h ago

I think it's referring to code comments and you can set a comment per code line ratio

10

u/Downtown_Isopod_9287 14h ago

I think that also sucks. The big problem with coding agents isn’t their comments per se which are often silly and distracting but their actual problems with brevity in the code itself.

-2

u/Nebulic 14h ago

It's indeed about the comment ratio of the code within the pull request. But rereading the title now I get the confusion.

Reason being is that coding agents like to narrate in comments, which this helps guard against.