AI Code review¶
To start AI code review, first complete the setup in AI Configuration.
You can configure AI code review in several places:
Global (admin) Navigate to and enable Turn on AI code review by default for new PRs. This sets the default for all newly created pull requests. Repository admins and PR authors can override this setting at the repository and pull request level.
Repository-level setting (repository admin) Navigate to and toggle Enable AI review for pull requests.
During pull request creation (any user) When creating a pull request, enable the Run AI code review checkbox to run the review for that PR.
In an existing pull request (any user) In an existing pull request, use the button in the right-side menu to start an AI code review.
Note
At the moment, AI code review can only be run once per pull request. After the review finishes, you won’t be able to restart it. In addition, you can view the AI code review status in the audit logs.