Skip to content

fix(ci): allow claude[bot] to trigger Claude Code workflow#35

Merged
greynewell merged 1 commit intomainfrom
claude/fix-allowed-bots-20260227-0011
Feb 27, 2026
Merged

fix(ci): allow claude[bot] to trigger Claude Code workflow#35
greynewell merged 1 commit intomainfrom
claude/fix-allowed-bots-20260227-0011

Conversation

@greynewell
Copy link
Contributor

@greynewell greynewell commented Feb 27, 2026

Summary

  • Adds allowed_bots: "claude[bot]" to claude.yml so claude-auto-assign.yml can trigger it
  • Without this, auto-assigned issues fail with: "Workflow initiated by non-human actor: claude (type: Bot)"

Test plan

  • Confirm next auto-assigned issue triggers Claude successfully

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated continuous integration workflow configuration to enable automated process enhancements.

claude-auto-assign.yml posts @claude comments as claude[bot], which then
triggers claude.yml. The action rejected these with "non-human actor" error
because allowed_bots was not configured.

Co-Authored-By: Grey Newell <greyshipscode@gmail.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@coderabbitai
Copy link

coderabbitai bot commented Feb 27, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between f07da89 and 6bd2657.

📒 Files selected for processing (1)
  • .github/workflows/claude.yml

Walkthrough

A GitHub Actions workflow configuration update that adds the allowed_bots parameter to the claude-code-action step, explicitly permitting the claude[bot] account to trigger the workflow with a clarifying comment.

Changes

Cohort / File(s) Summary
GitHub Actions Workflow Configuration
.github/workflows/claude.yml
Added allowed_bots: claude[bot] parameter to the claude-code-action step, enabling the Claude bot to trigger this workflow. Includes a comment documenting this allowance. No functional logic changes.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

Poem

🤖✨ Claude's at the gate, but couldn't quite enter,
So we hand it the key to become a co-worker,
One parameter added, a comment so clear,
Now the bot joins the dance without fear! 🎭

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: adding the claude[bot] permission to trigger the Claude Code workflow in CI.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch claude/fix-allowed-bots-20260227-0011

Comment @coderabbitai help to get the list of available commands and usage tips.

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