> ## Documentation Index
> Fetch the complete documentation index at: https://docs.coderabbit.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Search and read these docs from your coding agent with the [CodeRabbit documentation MCP server](https://docs.coderabbit.ai/mcp).
> Give your coding agent the [CodeRabbit Agent Skill](https://docs.coderabbit.ai/.well-known/agent-skills/index.json) for configuring reviews, running CLI reviews, coding tasks and API calls.

# Take low-risk pull requests from open to merged

> Set the conditions once, and PR Automations carry every matching low-risk pull request from open to merged.

Set up three [PR Automations](https://app.coderabbit.ai/triage/settings) so that low-risk pull requests get Slack reminders while they wait for review, automatic repairs when a check fails, and a merge once your conditions are met.

## How the guides fit together

The repair and merge guides each set up one automation that selects pull requests by their conditions: CodeRabbit's [Merge risk](https://docs.coderabbit.ai/pr-reviews/merge-risk.md) is **Minimal** or **Low** and **Review depth** is **Light**. The merge automation also checks the pull request's review state if you require a person's approval.

* The reminder automation nudges the author and reviewers in Slack while a pull request waits for review. You can narrow it with the same conditions.
* The Auto-fix automation pushes fixes when a CI check fails or CodeRabbit posts findings.
* The merge automation merges once your conditions are met and the required checks pass. If you also require a person's approval, it waits for a person to approve the latest commit.

> [!NOTE]
>
> The automations need no label to select pull requests. The `triage-trial` label used in the guides is a temporary guardrail for setup and experiments: while you try the automations, they only remind, repair, or merge pull requests someone deliberately opted in, so nothing you didn't mean to touch gets merged. Once their activity looks right, you can remove the label filter, and the automations act on every matching pull request.

## Before you start

GitHub Cloud (This guide is written for GitHub Cloud (github.com). Other providers support fewer of its steps.) | Team Plan (This feature is available on Team (formerly Pro+), Advanced, and Enterprise. Please refer to our pricing page for more information about our plans and features.)

| Requirement | Who does it | Where | Needed for |
| - | - | - | - |
| Permission to enable automations that merge or push commits | CodeRabbit organization administrator | [PR Automations](https://app.coderabbit.ai/triage/settings) | Repairs, merge |
| Slack workspace connected to CodeRabbit | CodeRabbit organization administrator | [Connect Slack](https://docs.coderabbit.ai/slack-agent/onboarding.md#setup-steps) | Reminders |
| Slack accounts linked, so reminders can reach people | Each author and reviewer | [Linking identities](https://docs.coderabbit.ai/triage/slack.md#linking-identities) | Reminders |
| Coding Agent access for the organization | CodeRabbit organization administrator | [Coding Agent access](https://docs.coderabbit.ai/code/access-and-billing.md#access) | Repairs; optional for merge |
| A branch rule with required status checks, set up as in the merge guide's [Branch rule](https://docs.coderabbit.ai/triage/guides/merge-low-risk-pull-requests.md#branch-rule), plus a required approval for reminders and for a merge that waits for a person | Repository administrator in GitHub | [Configure GitHub](https://docs.coderabbit.ai/pr-reviews/approval-policies.md#configure-github) | Reminders, merge |
| Recommended for setup: a `triage-trial` label in the repository | Someone with write access to the repository | GitHub: **Issues** > **Labels** | All guides |

## Set up one repository end to end

1. Optional: To try the automations only on pull requests you opt in, create the `triage-trial` label in GitHub, then set the label filter in each automation you create in steps 4 to 6.
2. Optional: To tell CodeRabbit what counts as low risk for your team, describe it in [Merge Risk Instructions](https://docs.coderabbit.ai/pr-reviews/merge-risk.md#guide-merge-risk).
3. Set up the [branch rule](https://docs.coderabbit.ai/triage/guides/merge-low-risk-pull-requests.md#branch-rule): required status checks, plus a person's approval if you want one. Reminders go out only while GitHub reports **Review required**, so they need a required approval.
4. [Create the reminder automation](https://docs.coderabbit.ai/triage/guides/remind-reviewers-in-slack.md#1-create-the-reminder-automation), with the optional low-risk conditions.
5. [Create the Auto-fix automation](https://docs.coderabbit.ai/triage/guides/repair-failing-pull-requests.md#1-create-the-auto-fix-automation), with the optional low-risk conditions.
6. [Create the merge automation](https://docs.coderabbit.ai/triage/guides/merge-low-risk-pull-requests.md#1-create-the-merge-automation) with **if PR requires fixes** set to **Do not auto fix**, because the Auto-fix automation already repairs.
7. Test with one small, contained pull request: request a review, add the `triage-trial` label if you set the label filter, and once CodeRabbit has reviewed its latest commit, check that the **Merge Risk** line in CodeRabbit's summary comment shows **Minimal** or **Low** and its Triage card shows **Light review**. Then follow the "Test it" sections for [reminders](https://docs.coderabbit.ai/triage/guides/remind-reviewers-in-slack.md#test-it), [repairs](https://docs.coderabbit.ai/triage/guides/repair-failing-pull-requests.md#test-it), and [merging](https://docs.coderabbit.ai/triage/guides/merge-low-risk-pull-requests.md#test-it).
8. If you set the label filter, remove it once **View activity** shows the runs you expect, to widen the scope of each automation: [reminders](https://docs.coderabbit.ai/triage/guides/remind-reviewers-in-slack.md#widen-the-scope), [repairs](https://docs.coderabbit.ai/triage/guides/repair-failing-pull-requests.md#widen-the-scope), and [merging](https://docs.coderabbit.ai/triage/guides/merge-low-risk-pull-requests.md#widen-the-scope).

Each guide also works on its own.

## What's next

> [card] [Remind reviewers in Slack](https://docs.coderabbit.ai/triage/guides/remind-reviewers-in-slack.md)
>
> Nudge the author and reviewers of a pull request while it waits for review.

> [card] [Repair failing pull requests automatically](https://docs.coderabbit.ai/triage/guides/repair-failing-pull-requests.md)
>
> Have the Coding Agent fix failed checks and CodeRabbit findings on low-risk pull requests.

> [card] [Merge low-risk pull requests automatically](https://docs.coderabbit.ai/triage/guides/merge-low-risk-pull-requests.md)
>
> Merge low-risk pull requests once your conditions are met and the required checks pass.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.