logoalt Hacker News

ildaritoday at 3:24 PM3 repliesview on HN

Hi HN community, I wanted to share our approach to reduce amount of AI slop PR's and issues in our repo. We enabled "require prior contribution" flag on GH and created a CI script that creates a tiny commit co-authored with you, if you pass captcha on our website. Worked really well and we were able to block at least 500 bots in the first week. Sharing a screenshot from cloudflare: https://archestra.ai/hn-comment-cloudflare-challenge-outcome...


Replies

halaprotoday at 6:47 PM

Who do you add as a contributor though? Wannabe-contributors? Then they appear in the list of contributors before you even see if they're capable of producing an acceptable PR.

Your solution would be great if GitHub would also allow me to whitelist specific users, but unfortunately this still won't block "implementation plans" in comments.

satvikpendemtoday at 3:37 PM

Yep, this is similar to some other version control tools like Tangled which has vouching.

https://blog.tangled.org/vouching/

tlntoday at 3:49 PM

Thats a really elegant solution.

How does the website trigger the CI script? Through GH rest API?

show 1 reply