Open vorburger opened 1 year ago
Perhaps something like this already exists as a ready-made Git Hub Action?
https://github.com/marketplace?category=&type=actions&verification=&query=spam ...
Quick Evaluation:
I suggest we start with 1. and will raise a PR for that, and if accepted I'll do a round of review and /spam
what I find.
If more is ever needed, then 4. looks interesting, to me; and possibly to hack on extending.
I just noticed that GitHub Orgs, on https://github.com/organizations/.../settings/blocked_users, have Block a user under Moderation. I wonder if that's available by API... if it is, it would be cool to have an Action which, on a "/spam" comment, would add the author of the Comment or Pull Request to that Block list from GitHub.
794 follow-up: This project has a surprising amount of clear Spam Issues and Pull Requests.
It would be fun if they could be tagged with a
spam
sort of label, which would post a standard comment on them, and close them.It would be even more fun if their authors could be automagically added to a
spammers.txt
kind of file at the root of this repository... 😃Perhaps something like this already exists as a ready-made Git Hub Action?