Visitar URL original
fix(ci): allow renovate bot in claude-code-review workflow by kanade0404 · Pull Request #100 · kanade0404/resume · GitHub
Skip to content

fix(ci): allow renovate bot in claude-code-review workflow - #100

Merged
kanade0404 merged 1 commit into
masterfrom
fix/claude-review-allow-renovate
Jul 26, 2026
Merged

kanade0404 merged 1 commit into
masterfrom
fix/claude-review-allow-renovate

Conversation

@kanade0404

@kanade0404 kanade0404 commented Jul 20, 2026 •

Copy link
Copy Markdown
Owner

概要

Renovate 起点の PR で claude-review check が失敗する問題の修正。

Root cause

anthropics/claude-code-action は allowed_bots 未指定 (default: 空 = bot 全拒否) の場合、bot 起点の workflow 実行を拒否する。#98 で v1.0.178 へ更新後、Renovate が rebase した PR #97 の run が renovate[bot] アクターで走り、この検査に落ちた。

対応

allowed_bots: renovate を追加し、Renovate PR でも従来どおり claude-review を走らせる (* は使わず renovate のみ許可)。action 側は [bot] サフィックスを正規化して比較するため renovate 表記で一致する。

マージ後、PR #97 の claude-review を re-run すれば merge ref 経由で修正済み workflow が使われ、緑になる想定。

🤖 Generated with Claude Code

https://claude.ai/code/session_01TP4jndXmvdKv2UQepXwPMf


Open in Devin Review

Summary by CodeRabbit

  • 改善
    • 自動コードレビューの実行条件を更新し、Renovateによって開始された処理のみが対象となるよう制御を追加しました。
    • 対象外のボットによる不要なレビュー実行を抑制し、レビュー処理の安定性と予測可能性を向上させました。

Hypothesis: claude-code-action は allowed_bots 未指定だと bot 起点の
実行を拒否するため、Renovate が rebase した PR #97 の claude-review が
"Workflow initiated by non-human actor: renovate" で失敗した。
allowed_bots に renovate を列挙して従来どおりレビューを走らせる。

Refs: https://github.com/kanade0404/resume/actions/runs/29685256320

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TP4jndXmvdKv2UQepXwPMf
@coderabbitai

coderabbitai Bot commented Jul 20, 2026 •

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

Claude Code Reviewアクションの設定に、Bot起点の実行をRenovateに限定するallowed_bots指定と注記コメントを追加しました。

Changes

Claude Code Review設定

Layer / File(s) Summary
RenovateのBot実行許可設定
.github/workflows/claude-code-review.yml
anthropics/claude-code-actionのwith設定にallowed_bots: renovateと関連コメントを追加。

Estimated code review effort: 1 (Trivial) | ~2 minutes

Possibly related PRs

  • kanade0404/resume#85: 同じClaude Code Reviewワークフローのアクション設定を変更。

Poem

ぴょんと跳ねたらRenovate
Claudeの門をくぐります
許可リストを手に持って
Botのレビューを届けます
にんじん色の自動化!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed Renovate bot を claude-code-review ワークフローで許可する変更を正確に要約しています。
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/claude-review-allow-renovate

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

@devin-ai-integration devin-ai-integration 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.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

@coderabbitai coderabbitai 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.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/workflows/claude-code-review.yml:
- Around line 39-40: Update the allowed_bots configuration in the Claude code
review workflow from renovate to the exact bot login renovate[bot], preserving
the existing configuration structure.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 597e99cb-1e48-4fb9-828c-921446c7f0f3

📥 Commits

Reviewing files that changed from the base of the PR and between 620aa65 and 3d1fa55.

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

@kanade0404

Copy link
Copy Markdown
Owner Author

Review Response Summary (2026-07-20 19:15 JST)

Reviewer Total Fixed Pushback Deferred Duplicate
CodeRabbit 1 0 1 0 0
Devin 0 0 0 0 0

Pushback (要 reviewer 判断)

  • [https://github.com/fix(ci): allow renovate bot in claude-code-review workflow #100#discussion_r3613309045] allowed_bots を renovate[bot] にすべきという指摘: v1.0.178 の isAllowedBot はリスト側・アクター側の双方を [bot] サフィックス除去 + lowercase で正規化して比較するため、renovate 表記で actor renovate[bot] に一致する (前提誤り)。動作差が無いため現状表記を維持。

Deferred

  • なし

Fixed (commit)

  • なし (修正コミットは発生していない)

各スレッドへの返信は thread 内に投稿済み。

@kanade0404
kanade0404 merged commit 1db5d37 into master Jul 26, 2026
11 checks passed
@kanade0404
kanade0404 deleted the fix/claude-review-allow-renovate branch July 26, 2026 10:37
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