Skip to content

Let coderabbitai trigger deep review via the deep-review label - #8

Merged
krassx merged 1 commit into
mainfrom
allow-coderabbit-deep-review
Oct 27, 2026
Merged

krassx merged 1 commit into
mainfrom
allow-coderabbit-deep-review

Conversation

@krassx

@krassx krassx commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

Problem

When coderabbitai[bot] adds the deep-review label, the review job was skipped because the job if: excluded every run where the actor is coderabbitai[bot].

Change

  • if: now lets through coderabbitai's labeled event for deep-review; its other pull_request events are still skipped.
  • Added allowed_bots: coderabbitai to claude-code-action so it doesn't fail with "Workflow initiated by non-human actor".
  • Updated the explanatory comment.

Notes

  • Caller workflows must trigger on pull_request: types: [..., labeled] (not verified here).
  • allowed_bots behavior is untested; verify by having coderabbitai add the label on a test PR.

🤖 Generated with Claude Code

The job skipped every run initiated by coderabbitai[bot], including the
labeled event for deep-review. Allow that one event through and pass
allowed_bots so the action accepts the bot actor.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
@coderabbitai

coderabbitai Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 829444e6-aa66-4bca-9d60-01025637d480
Commits

Reviewing files that changed from the base of the PR and between fcfb224 and f26b4b8.

Files selected for processing: 1
  • .github/workflows/claude-review.yml

Limit details: You’ve used all 10 included reviews currently available.

📝 Summary

Summary by CodeRabbit

  • Chores
    • Updated automated review behavior to allow runs initiated by a review bot when the deep-review label is added. Draft pull requests, fork pull requests, and Dependabot-triggered runs remain excluded.

The workflow permits coderabbitai[bot] to run when it adds the deep-review label. The Claude action now allows coderabbitai. Existing exclusions for draft PRs, fork PRs, Dependabot, and other bot events remain.

Possibly related PRs

  • bugsee/.github#7: Excludes coderabbitai[bot] from the same review job that this PR permits for deep-review label events.

Priority: Low

Change: Bug fix

Merge Risk: Minimal · up to f26b4

The workflow is ready to merge based on the available evidence. Caller workflows still need to subscribe to labeled events for CodeRabbit-triggered reviews to run.

Architecture risk: Low · up to f26b4

The changed surface does not map to a changed system, dependency edge, entrypoint, or external dependency.

Changed systems: None identified.

Architecture concerns
No architecture-level concerns identified.

Review details

Before / after behavior

  • observed — Modified behavior in .github/workflows/claude-review.yml: The job condition now permits coderabbitai[bot] when it adds the deep-review label, while continuing to exclude the bot for other events. The comments clarify this exception; the existing draft, fork, Dependabot, and label-event conditions remain.
  • observed — Modified behavior in .github/workflows/claude-review.yml: Adds the Claude action’s allowed_bots: coderabbitai setting, with a comment identifying its use for the label-triggered run.
Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title names the main change: the review job now accepts coderabbitai[bot]'s deep-review label event. It matches the raw summary and the PR objectives, so the check passes.
Description check Passed The description states the problem (the job if: excluded coderabbitai[bot] runs, so the deep-review label path was skipped) and lists the changes to the if: condition, the allowed_bots input, and the …
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Documentation-only edits and deletions within survi…
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.
Full details: Description check

Explanation

The description states the problem (the job if: excluded coderabbitai[bot] runs, so the deep-review label path was skipped) and lists the changes to the if: condition, the allowed_bots input, and the comment. It also notes the caller workflow requirement and the untested allowed_bots behavior. It is related to the changeset, so the check passes.

Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Usage-based review receipt

  • Mode: Continue automatically
  • Reviewed files: 1
  • Waived: $0.25 (charged $0.00)
  • View usage details

Note

This review exceeded your plan’s limits and used usage-based reviews—free during trial, billed after paid activation unless disabled. Manage usage-based reviews.

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

@krassx
krassx merged commit 71fda0a into main Oct 27, 2026
3 checks passed
@krassx
krassx deleted the allow-coderabbit-deep-review branch October 27, 2026 10:02
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