Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Address Spam Issues and Pull Requests (ideally with an automated Bot) #864

Open
vorburger opened this issue Oct 28, 2023 · 3 comments
Open

Comments

@vorburger
Copy link

#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?

@vorburger
Copy link
Author

Perhaps something like this already exists as a ready-made Git Hub Action?

https://github.com/marketplace?category=&type=actions&verification=&query=spam ...

@vorburger
Copy link
Author

Quick Evaluation:

  1. https://github.com/balevine/mark-as-spam simple enough
  2. https://github.com/maximelafarie/spamtoberfest implements my "spammers list" blocklist idea. But unmainted? Let's not.
  3. https://github.com/andrewslotin/rummelsnuff (original with 46 Stars) = https://github.com/asmodat/rummelsnuff fork, but do those heuristics really work?
  4. https://github.com/liamg/antispam-action with simpler heuristics (e.g. here and here)

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.

@vorburger
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant