Skip to content

ci: allow bot actors to invoke claude-code-action - #10

Merged
twistedmelonman merged 1 commit into
mainfrom
claude/allow-bots-fix-1776571003
Apr 19, 2026
Merged

ci: allow bot actors to invoke claude-code-action#10
twistedmelonman merged 1 commit into
mainfrom
claude/allow-bots-fix-1776571003

Conversation

@twistedmelonman

Copy link
Copy Markdown
Member

Adds allowed_bots: "claude[bot],github-actions[bot]" to the claude-code-action step in .github/workflows/claude.yml.

Recent releases of anthropics/claude-code-action@v1 reject runs where github.actor is a Bot unless explicitly allowed. First observed on nightowlstudiollc/kebab-tax-netlify PR #173. Reusable-workflow version landed in smartwatermelon/github-workflows#60 (v2.0.2).

The if: guard in this workflow still filters on @claude mention content; the allowlist only names bots whose events are legitimate secondary triggers. Named list, not *.

🤖 Generated with Claude Code

claude-code-action@v1 rejects runs where github.actor is a Bot unless
listed in allowed_bots. The `if:` guard in this workflow already filters
on @claude mention content, so the allowlist only names bots whose
events are legitimate secondary triggers. Named list, not `*`.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@twistedmelonman
twistedmelonman merged commit 5634a6b into main Apr 19, 2026
4 checks passed
@twistedmelonman
twistedmelonman deleted the claude/allow-bots-fix-1776571003 branch April 19, 2026 04:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant