Skip to main content
Set up a PR Automation that reminds the author and reviewers in Slack while a pull request waits for review.

What you get

  • While GitHub reports a pull request as Review required, its author and reviewers get a Slack message, and you can add a Slack channel.
  • Within this automation, reminders to the same person about the same pull request are at least 24 hours apart.
  • The automation acts on existing and future matches, so saving it also reminds people about pull requests that already match.
What CodeRabbit won’t do:
  • Remind people about a pull request that doesn’t meet the conditions, such as an approved one.
  • Message people whose Slack accounts aren’t linked, or who turned off notifications.
  • Change the pull request.
To stop, select Pause on the automation’s row in PR Automations, or delete it. Messages already sent stay in Slack.

Before you start

|

1. Create the reminder automation

1

Start from the template

In PR Automations, select Try now on Send Slack reminders. The editor opens with all repositories and the trigger conditions PR state is Open and Provider review decision is Review required.
2

Choose the repository

Under Repositories, choose Selected and pick the repository. Saving reminds people about pull requests that already match, so start with a test repository if you have one. The repository gets its own card.
3

Optional: Remind only about some pull requests

To narrow the reminders, add a condition for each property a pull request must have, such as Merge risk or Review depth: under Triggers, select the + on the trigger card and set the condition. The conditions show and between them. Don’t use Add trigger: it adds a separate trigger joined by OR. If you’re following Take low-risk pull requests from open to merged, add Merge risk is any of Minimal, Low and Review depth is Light.
4

Optional: Limit it to pull requests you opt in

To keep reminders away from pull requests you didn’t mean to include while you check the results, on the repository’s card, select the +, set the new filter’s property to PR labels, keep has any of, and choose triage-trial. Without this filter, saving reminds people about every matching pull request in the repository, including those that already match.
5

Choose when reminders go out

In the Slack action, keep Send Message to remind people as soon as a pull request matches, or choose Schedule Message to send at a set time and timezone.
6

Optional: Post in a channel

To also post reminders where the team can see them, add a Slack channel to the recipients. The author and reviewers still get their own reminders.
7

Save and enable

Select Save automation. This saves and enables it, and reminds people about pull requests that already match, using the timing you chose.

Test it

1

Open a pull request

In the repository you selected, open a pull request and request a review from a teammate. If you set the label filter, add the triage-trial label.
2

Optional: Check the conditions you added

If you narrowed the reminders, check that the pull request meets your conditions. For the low-risk ones, the Merge Risk line in CodeRabbit’s summary comment shows Minimal or Low for the latest commit, and the Triage card shows Light review.
3

Check Slack

The author and the reviewer get a Slack message, at the scheduled time if you chose one.
4

Check the outcome

In PR Automations, select View activity to see the automation’s run on the pull request, including anyone it skipped.

Widen the scope

If you set the label filter, remove it once View activity shows reminders only where you expect them, so the automation reminds people about every pull request in the repository that waits for review.
1

Open the automation

In PR Automations, select the pencil icon on the automation’s row.
2

Remove the label filter

On the repository’s card, select the X on the PR labels filter.
3

Save

Select Save changes. This also reminds people about pull requests that already match.

If something doesn’t work

  • No reminder arrived. The recipient’s Slack account may not be linked, or this automation reminded them about this pull request less than 24 hours ago. See A Slack message did not arrive.
  • The automation didn’t act. Check that GitHub shows the pull request as needing review, then check View activity. See An automation rule did not run.

What’s next

Repair failing pull requests automatically

Fix failed checks and CodeRabbit findings on low-risk pull requests while they wait for review.

Merge low-risk pull requests automatically

Merge low-risk pull requests once your conditions are met and the required checks pass.

Triage in Slack

See the other ways Triage reaches your team in Slack, such as the PR digest.