Skip to content

ci(review): allow morpho-infra-deployer bot in Claude review#116

Open
rguichard wants to merge 1 commit into
morpho-mainfrom
ci/allow-infra-deployer-bot-review
Open

ci(review): allow morpho-infra-deployer bot in Claude review#116
rguichard wants to merge 1 commit into
morpho-mainfrom
ci/allow-infra-deployer-bot-review

Conversation

@rguichard

@rguichard rguichard commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator

Summary

The chart image-tag bump PRs (e.g. #115) are opened by the morpho-infra-deployer GitHub App. The Claude Code Review action rejects PRs initiated by non-human actors unless they are listed in allowed_bots, so it fails with:

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

(See run https://github.com/morpho-org/erpc/actions/runs/29080212943.)

Change

Add morpho-infra-deployer to allowed_bots in .github/workflows/claude-code-review.yml so its automated deployment PRs get reviewed instead of failing the check.

Testing

  • claude-code-review.yml validated as well-formed YAML.

Summary

The Claude code review workflow was failing on pull requests opened by the morpho-infra-deployer GitHub App (used for automated chart image-tag bump PRs) because the action rejects non-human actors not explicitly listed in allowed_bots. This change adds the bot to the allowlist so those PRs receive automated review.

Changes

  • Added morpho-infra-deployer to the allowed_bots list in .github/workflows/claude-code-review.yml

Testing

Open or re-run the Claude review action on a PR created by the morpho-infra-deployer bot and verify the workflow completes successfully instead of failing with Workflow initiated by non-human actor.

The chart image-tag bump PRs are opened by the morpho-infra-deployer
GitHub App. The Claude review action rejects non-human actors unless
they are in allowed_bots, so it fails on those PRs with 'Workflow
initiated by non-human actor'. Add the bot to allowed_bots.
@rguichard rguichard requested a review from 0x666c6f as a code owner July 10, 2026 09:31

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

Claude Code Review is paused for this repository. To reconnect it, an admin of this repository's GitHub organization (or the account owner, for personal repositories) who can also manage your Claude organization's Code Review settings needs to re-link GitHub in Code Review settings. This is a one-time step.

Tip: disable this comment in your organization's Code Review settings.

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