Hacker NewsTuesday · May 19, 2026FREE

We stopped AI bot spam in our GitHub repo using Git's –author flag

gitspamaidevops

Archestra, a company focused on responsible AI, implemented a Git hook to combat AI bot spam in their GitHub repository. The hook inspects the --author flag on every commit, rejecting those where the author name or email matches patterns associated with known AI bots. This approach was detailed in a blog post on their site, archestra.ai, published May 18, 2026. The solution is lightweight, requiring no external dependencies, and can be added to any repository's .git/hooks directory. A concrete consequence is that maintainers now spend less time triaging fake pull requests, which had been increasing as AI-generated code submissions became more common. The post emphasizes that this is a pragmatic, low-overhead method to preserve repository quality without blocking legitimate contributions.

// why it matters

Developers can now easily filter AI bot spam from their repos using a simple Git hook.

Sources

Primary · Hacker News
▸ Read original at archestra.ai

Like this? Get the next digest.

We stopped AI bot spam in our GitHub repo using Git's –author flag — aigest.dev