Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Add invalid/spam threshold for exclusion #447
We saw quite a few users who were cheating the system in Hacktoberfest 2019 by creating many spam PRs across repositories on GitHub, far more than four, in the hopes that four of them wouldn't get labelled as "invalid" so that they could win.
Something that might help to reduce this is to add a threshold into the app logic for excluding a user from winning when they have too many invalid PRs.
I'm unsure what the threshold should be there, but let's say three for now. If a user were to get three PRs marked as "invalid" or in a spam repository during the Hacktoberfest period, they'd be excluded from participating and could not win, no matter how many other legitimate PRs they had.
We should also ensure there is an appeal system in place (maybe just a CTA to email hf@do) and a way for Hacktoberfest staff to manually remove someone from exclusion if there is a legitimate reason for them to have invalid PRs.
Further, it might be worth also having a way for Hacktoberfest staff to manually add someone to the exclusion list if they are to spot a spammer that the system hasn't recognised.