Skip to content

Commit 4f343a3

Browse files
committed
ci: let the claude bot trigger the PR audit workflows
claude-code-action rejects any non-human actor unless it is named in allowed_bots, so PRs opened by the claude app failed both the agent instructions audit and the REVIEW.md drift audit before Claude ran, and landed with two permanently red checks and no audit coverage. Allowlists the bot by name rather than "*", so other bots (dependabot in particular) still cannot trigger these workflows. Both jobs already skip PRs whose head is not in this repo, so fork PRs remain excluded.
1 parent 109e245 commit 4f343a3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/check-review-md.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
with:
3939
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
4040
use_sticky_comment: true
41-
allowed_bots: "devin-ai-integration[bot]"
41+
allowed_bots: "devin-ai-integration[bot],claude[bot]"
4242

4343
claude_args: |
4444
--max-turns 30

.github/workflows/claude-md-audit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
with:
4141
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
4242
use_sticky_comment: true
43-
allowed_bots: "devin-ai-integration[bot]"
43+
allowed_bots: "devin-ai-integration[bot],claude[bot]"
4444

4545
claude_args: |
4646
--max-turns 25

0 commit comments

Comments
 (0)