Code Review

Use Codex to review code directly within GitHub.

Codex can review code. This is great for finding bugs and improving code quality.

Setup

Before you can use Codex directly inside GitHub, you will need to make sure Codex cloud is set up.

Afterwards, you can go into the Codex settings and enable “Code review” on your repository.

Usage

After you have enabled Code review on your repository, you can start using it by tagging @codex in a comment on a pull request.

To trigger a review by codex you’ll have to specifically write @codex review.

Afterwards you’ll see Codex react to your comment with 👀 acknowledging that it started your task.

Once completed Codex will leave a regular code review in the PR the same way your team would do.

Giving Codex other tasks

If you mention @codex in a comment with anything other than review Codex will kick off a cloud task instead with the context of your pull request.