You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The repo's example here automatically add a comment to PR created by new contributors.
We can then implement other criterions, as the one listed in the Context section above.
What if the checks does not pass ?
Either add a dedicated label suspicious to the issue or PR.
Or immediately rejects the issue/PR by closing it,
possibly adding an automated comment describing the reason, and pointing to the "how to contribute" guideline.
Additional thoughts
Either solution might make the spammers always find new ways to meet such acceptance criterias and keep on spamming, over and over again ?
The text was updated successfully, but these errors were encountered:
Motivation
Context
Roughly checking on:
Some recurring characteristics emerge:
And sometimes:
<some_indian_name>_?\d+
, but this cannot constitute a criterion in any way.Suggested solutions
Turn on moderation settings
Limit to existing users
Disable blank issue/PR template
From my perspective, a (bunch of) dedicated template issue/PRs with many non-empty fields are a good way to avoid unnecessary issues and/or PRs.
Add a dedicated anti-spam github-action
Such a github-action would perform several checks, as acceptance criteria.
Technically it could rely on actions/github-script@v7 (and octokit) to use the github rest API.
The repo's example here automatically add a comment to PR created by new contributors.
We can then implement other criterions, as the one listed in the
Context
section above.What if the checks does not pass ?
suspicious
to the issue or PR.possibly adding an automated comment describing the reason, and pointing to the "how to contribute" guideline.
Additional thoughts
The text was updated successfully, but these errors were encountered: