GitHub Repo Blocks AI Bot Spam with Author Flag
Ildar Iskhakov, the CTO of Archestra, outlines a strategy to prevent AI bot spam within a GitHub repository by utilizing Git's --author flag. The onboarding process for contributors consists of five steps: initially, contributors must be whitelisted by agreeing to ethical AI guidelines and completing a CAPTCHA on Archestra's site. Upon submission, a GitHub Action activates, retrieves the user's GitHub ID, adds their username to an EXTERNAL_CONTRIBUTORS.md file, and commits to the main branch under their account. Once whitelisted, contributors are granted access to the repository, ensuring that only ethical AI contributors can make modifications.
Key facts
- Method uses Git's --author flag to block AI bot spam.
- Contributors must accept ethical AI rules and complete a CAPTCHA.
- Onboarding takes five steps to get whitelisted.
- A GitHub Action fires on submission and looks up the user's GitHub ID.
- The Action adds the user's handle to EXTERNAL_CONTRIBUTORS.md.
- A commit is pushed to main authored under the user's account.
- Whitelisted users gain access to the repository.
- The approach is detailed by CTO Ildar Iskhakov.
Entities
Institutions
- Archestra