ci: add anti-slop action#44847
Conversation
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
|
Let's see what @glegendre01 or @paulinebm says before merge. |
Thanks for the review and pings @ydshieh I'd also like to hear from @Rocketknight1 , since there were since then more discussion on applying more immediate remedies. |
|
Hey, I'm not certain we want all of this yet! The minimum account age might be good, but the rest are quite difficult to hard filter. In particular, I think the |
|
Also one other thing: The check for the maximum number of repos forked by an account in 24 hours is probably a very good way to catch the worst OpenClaw offenders, and it should catch very few legit accounts - maybe we could try adding that one? |
Sounds good to me, I'll shrink it |
781d78e to
346c20a
Compare
* add anti-slop action * remove maintainers names * pin the action to 0.2.1 * tweaks @Rocketknigth1 reviews
* add anti-slop action * remove maintainers names * pin the action to 0.2.1 * tweaks @Rocketknigth1 reviews
What does this PR do?
Activated
anti-slopaction.Enabled checks:
min-account-age: 30to catch brand-new throwaway accounts, which are common in automated spam waves.max-daily-forks: 7to catch accounts that fork many repositories in a 24-hour window.This workflow is label-only and does not close or lock PRs. It also keeps
max-failures: 2, so a PR is only flagged when both signals fail.