Skip to content

ci(claude-review): skip runs triggered by coderabbitai[bot] - #7

Merged
krassx merged 1 commit into
mainfrom
fix/skip-coderabbit-actor
Oct 27, 2026
Merged

krassx merged 1 commit into
mainfrom
fix/skip-coderabbit-actor

Conversation

@krassx

@krassx krassx commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

Problem

Several PRs in bugsee/bugsee-android-gradle-plugin show a red review / review check. Cause (e.g. run 40342661540 and 40333338437, both pull_request events with actor coderabbitai[bot]):

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

Re-runs and new pushes don't help: CodeRabbit's own events retrigger the job.

Change

Add github.actor != 'coderabbitai[bot]' to the job if, next to the existing dependabot exclusion. The job is skipped for those events (shown as skipped, not failed) and still runs for every human push. I deliberately did not add the bot to allowed_bots (or *): that setting controls which bots can start a run that holds the OAuth token.

Not verified

The condition can only be exercised by a real CodeRabbit-triggered event; after merge, check that review / review no longer fails on a PR where CodeRabbit posts. Note a skipped run can replace a passed one in the check list for that head.

🤖 Generated with Claude Code

https://claude.ai/code/session_01UbKdFDr9dyjwDBkN6YRDPe

The action refuses bot actors, so a pull_request event fired by CodeRabbit
ended as a red 'review / review' check in the calling repositories. Skip it
like dependabot instead of allowing the bot.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UbKdFDr9dyjwDBkN6YRDPe
@coderabbitai

coderabbitai Bot commented Oct 26, 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: 954377eb-ee1c-411a-bdb0-5aa72da77472
Commits

Reviewing files that changed from the base of the PR and between 890726b and 47f559a.

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

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review.

📝 Summary

Summary by CodeRabbit

  • Chores
    • Updated the automated pull-request workflow to skip runs triggered by CodeRabbit and Dependabot. Existing handling for draft pull requests, forks, and labels remains unchanged. This update affects workflow execution only; it does not change application features or other user-facing behavior.

The workflow now excludes coderabbitai[bot] actors, alongside dependabot[bot]. Comments explain that CodeRabbit-triggered pull-request events are skipped. Existing draft, fork, and label conditions remain unchanged.

Priority: Low

Change: Bug fix

Merge Risk: Minimal · up to 47f55

No actionable issue blocks merging. Confirm the skipped check and human-push behavior on a real CodeRabbit-triggered pull request after merge.

Architecture risk: Low · up to 47f55

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: Comments now explain that CodeRabbit-triggered pull-request events are skipped so the action’s non-human-actor failure does not prevent reviews from running on human pushes.
  • observed — Modified behavior in .github/workflows/claude-review.yml: The job’s actor filter now excludes coderabbitai[bot] as well as dependabot[bot].
Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title clearly and concisely states that the workflow skips runs triggered by coderabbitai[bot], which is the main change.
Description check Passed The description explains the failure caused by CodeRabbit-triggered events, the workflow condition change, the intended behavior, and the verification limitation. It directly matches the changeset.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
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: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. 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

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

@krassx
krassx merged commit fcfb224 into main Oct 27, 2026
2 checks passed
@krassx
krassx deleted the fix/skip-coderabbit-actor branch October 27, 2026 05:50
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