ci(review): allow morpho-infra-deployer bot in Claude review#116
Open
rguichard wants to merge 1 commit into
Open
ci(review): allow morpho-infra-deployer bot in Claude review#116rguichard wants to merge 1 commit into
rguichard wants to merge 1 commit into
Conversation
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.
There was a problem hiding this comment.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The chart image-tag bump PRs (e.g. #115) are opened by the
morpho-infra-deployerGitHub App. The Claude Code Review action rejects PRs initiated by non-human actors unless they are listed inallowed_bots, so it fails with:(See run https://github.com/morpho-org/erpc/actions/runs/29080212943.)
Change
Add
morpho-infra-deployertoallowed_botsin.github/workflows/claude-code-review.ymlso its automated deployment PRs get reviewed instead of failing the check.Testing
claude-code-review.ymlvalidated as well-formed YAML.Summary
The Claude code review workflow was failing on pull requests opened by the
morpho-infra-deployerGitHub App (used for automated chart image-tag bump PRs) because the action rejects non-human actors not explicitly listed inallowed_bots. This change adds the bot to the allowlist so those PRs receive automated review.Changes
morpho-infra-deployerto theallowed_botslist in.github/workflows/claude-code-review.ymlTesting
Open or re-run the Claude review action on a PR created by the
morpho-infra-deployerbot and verify the workflow completes successfully instead of failing withWorkflow initiated by non-human actor.