-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Using the Claude Code Action for pull request reviews can unintentionally trigger permanent account bans on Claude Pro / MAX.
When developers use this action intensively — for example, by commenting @claude please fix the issues directly in PR threads — Claude automatically commits fixes and re-runs the review.
Each new commit triggers another review cycle, and if issues persist, the process can quickly enter a loop (Claude reviews → user command → new commit → Claude re-reviews).
Because all of these automated review actions originate from GitHub’s servers/IPs, the protection system may misclassify the repeated activity as scripted or bot-like behavior.
This results in false-positive bans, even though the workflow is fully legitimate and occurs entirely within the intended GitHub Action feature flow.
Claude Code’s Action should correctly recognize repeated PR review cycles — especially those initiated through @claude commands in PR comments — as legitimate user activity, since they’re triggered by real developer interactions and GitHub workflows, not by external automation.
Even when multiple reviews occur in a short time, the system should not flag or ban the user. Instead, it should:
• Treat GitHub-triggered reviews as safe activity from an official integration.
• Apply rate limits or batching instead of permanent bans.
• Allow continuous use of the integration without triggering false positives.
Steps to reproduce:
1. Install the Claude Code Action from the official Claude Code interface.
2. Enable it for one or more repositories.
3. Open a PR with minor issues or lint errors.
4. Let Claude review and comment with suggestions.
5. In the PR, reply with @claude please fix the issues.
6. Claude commits fixes automatically and re-runs the review.
7. Repeat this a few times — Claude finds new issues, commits again, and reviews again.
8. After several loops in a short period, the account becomes banned without warning.
This issue doesn’t seem to result from misuse but from a normal, intensive workflow using the official Claude Code Action.
The loop is specifically triggered when developers fix issues directly from PR comments with @claude please fix the issues, generating multiple review and commit events within minutes.
All these actions come from GitHub’s infrastructure, which likely causes the safety system to misinterpret them as automated activity.
I reproduced this twice on two separate accounts after enabling the Claude Code Action — both were banned shortly after.
On a third account, following the exact same PR workflow without enabling the Action, I have not been banned (so far).
This strongly suggests a detection false positive linked to the Claude Code Action integration, not a policy violation.