chore: add GitHub Action to manage "+1" comments (#52866)
### What? Adds a GitHub Action that automatically marks unhelpful comments as "off-topic". You can test it by adding off-topic comments to this issue: https://github.com/balazsorban44/next.js/issues/21 https://github.com/balazsorban44/next.js/blob/17e3ec30689a2323161260c9b03bb7f51ed008f9/.github/actions/minus-one/src/index.mjs#L6 ### Why? A common problem is when an issue thread receives "+1" comments, it usually encourages others to do the same. This makes the thread harder and harder for maintainers to read, without adding value to the discussion. ### How? When an issue receives a comment, we compare it to a list that we determine as off-topic. If it matches, we hide the comment. See: https://docs.github.com/en/graphql/reference/mutations#minimizecomment
Showing
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
File moved
File moved
File moved
This diff is collapsed.
File moved
File moved
File moved
Please
register
or
sign in
to comment