Skip to content

ci(claude-review): allow dependabot PRs in Claude Code Review#870

Open
frankbria wants to merge 1 commit into
mainfrom
ci/claude-review-allowed-bots
Open

ci(claude-review): allow dependabot PRs in Claude Code Review#870
frankbria wants to merge 1 commit into
mainfrom
ci/claude-review-allowed-bots

Conversation

@frankbria

Copy link
Copy Markdown
Owner

Every Dependabot PR currently gets a red claude-review check, not because of any code problem but because the action rejects bot actors by default:

Action failed with error: Workflow initiated by non-human actor: dependabot (type: Bot).
Add bot to allowed_bots list or use '*' to allow all bots.

(Seen on #868 — the only failing check on an otherwise green PR.)

Change

Add allowed_bots: "dependabot[bot]" to the anthropics/claude-code-action step in .github/workflows/claude-code-review.yml, so dependency PRs get reviewed instead of erroring.

Notes

  • Scoped to dependabot[bot] only, not *.
  • The job's permissions stay read-only (contents: read, pull-requests: read, issues: read), so blast radius of reviewing bot PRs is minimal.

Refs: failed run on #868 (job 88123303723).

The claude-code-action rejects bot actors by default, failing the
claude-review check on every Dependabot PR with:

  Workflow initiated by non-human actor: dependabot (type: Bot).
  Add bot to allowed_bots list or use '*' to allow all bots.

Add allowed_bots: "dependabot[bot]" so dependency PRs get reviewed
instead of showing a spurious red check.
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