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

# Enable author self-review in pull requests

<div style={{ display: "flex", alignItems: "center", gap: "6px" }}>
  <Badge color="outline-provider" size="sm" shape="pill" icon="github">GitHub</Badge>
</div>

Self-review acknowledgment allows PR authors to confirm they reviewed and addressed the findings generated by Qodo.

When enabled, a checkbox appears in the PR that the author can use to acknowledge the review results. Teams can also configure Qodo to add itself as a reviewer after the author confirms the self-review, allowing the PR to be merged.

## Why use self-review

Self-review helps teams:

* Ensure authors review Qodo findings before merging
* Add a lightweight confirmation step to the review workflow
* Allow Qodo to become a reviewer once the author confirms the review

## How to enable self-review

Self-review is configured in the `.pr_agent.toml` [configuration file](/code-review/get-started/configuration-overview/configuration-file).

### Enable the self-review checkbox

Add the following configuration:

```bash theme={null}
[review_agent]
demand_self_review = true
```

Default: `false`

When enabled, a checkbox appears in the PR. The author can select this checkbox to confirm they reviewed the findings.

### Add Qodo as a reviewer after self-review

You can configure Qodo to add itself as a reviewer when the author confirms the self-review.

```bash theme={null}
[review_agent]
approve_pr_on_self_review = true
```

Default: `false`

When enabled:

<Steps>
  <Step title="The author reviews the Qodo findings." />

  <Step title="The author selects the Author self-review checkbox.">
    <Frame>
      <img src="https://mintcdn.com/qodo/8f9QSVoLIbSaCs56/images/code-review/self-review-checkbox.png?fit=max&auto=format&n=8f9QSVoLIbSaCs56&q=85&s=9b1e07b2a5e132ed5a6a73a3efe4d436" alt="Pull request showing author self-review acknowledgment checkbox" width="744" height="165" data-path="images/code-review/self-review-checkbox.png" />
    </Frame>
  </Step>

  <Step title="Qodo adds itself as a reviewer." />

  <Step title="The PR can then be merged." />
</Steps>
