Skip to content

docs: clarify PR review eligibility (#378) #396

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions docs/guides/code-review-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ description: An overview of CodeRabbit's core code review features.
sidebar_label: Overview
---

import ProPlanNotice from '@site/src/components/ProPlanNotice.mdx'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding this!


The central feature of CodeRabbit is its ability to proactively review
new pull requests on your code repository.

Expand All @@ -14,6 +16,15 @@ This information, usually added to pull requests within minutes, can help your t
The following sections present an overview of this feature. For a hands-on example that lets you experience a CodeRabbit code review using
a real repository, see [Quickstart](/getting-started/quickstart).

## Review eligibility {#eligibility}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since many of our headers start with imperative verbs, I am cautious about starting headers with "Review" as a noun like this, since it's ambiguous. This could be read as "Here is how you review something for eligibility."

How about moving this into a level-three section, after the "Events that trigger automated reviews" section? And retitling it "Which pull requests get automatically reviewed".


CodeRabbit will review your pull request if one of the following is true:

- **Public repositories:** CodeRabbit reviews every PR by default.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs a reword for clarity. How about:

"The pull request is part of a public repository. CodeRabbit automatically reviews pull requests against the main branch of your public repositories, by default. This feature is available to all subscription tiers, including the free plan."

Part of my nitpick here is that the list lead-in makes us expect a list or true-or-false statement, but "Public repositories" isn't really a statement that can be true or false. The bolded sentence I suggest above is true-or-false, though. Make sense?

- **Private repositories:** CodeRabbit reviews PRs only when your organization has a Pro plan **and** you have an assigned seat.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apply the same strategy as above to this one, too. (And let's spell out "pull request".)


<ProPlanNotice />

## Automatically review pull requests {#review}

After you [integrate CodeRabbit with your repository](/platforms), CodeRabbit proceeds
Expand Down
Loading