Skip to content

Fix: Review-response workflow bot filter condition is backwards #10

@coderabbitai

Description

@coderabbitai

Problem

The review-response workflow will never trigger for CodeRabbit comments because the bot filter condition is inverted.

Current (incorrect):

if: github.event.comment.user.type != 'Bot'

This excludes bot comments, but we want to trigger ONLY on bot (CodeRabbit) comments.

Expected (correct):

if: github.event.comment.user.login == 'coderabbitai'

Or more generically:

if: github.event.comment.user.type == 'Bot'

Impact

  • The review-response automation won't work
  • CodeRabbit comments won't trigger the workflow

Files to Fix

  • .github/workflows/review-response.yml (line 9)

References

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions