SpyBara
Go Premium

integrations/github.md 2026-05-02 06:45 UTC to 2026-05-05 23:00 UTC

28 added, 3 removed.

2026
Sat 30 07:08 Fri 29 18:58 Thu 28 18:58 Wed 27 00:57 Tue 26 18:54 Sat 23 00:54 Fri 22 18:42 Thu 21 18:44 Wed 20 00:58 Tue 19 18:43 Mon 18 22:01 Thu 14 21:00 Wed 13 00:57 Tue 12 01:59 Mon 11 18:00 Thu 7 20:02 Tue 5 23:00 Sat 2 06:45 Fri 1 18:29
Data Information:
  • After 2026-05-02 06:45 UTC, this monitor no longer uses markdownified HTML/MDX. Comparisons across that boundary can therefore show more extensive diffs.

Codex code review in GitHub

Use Codex code review to get another high-signal review pass on GitHub pull requests. Codex reviews the pull request diff, follows your repository guidance, and posts a standard GitHub code review focused on serious issues.

<YouTubeEmbed title="Codex code review walkthrough" videoId="HwbSWVg5Ln4" class="max-w-md mr-auto" />

Before you start

Make sure you have:

Set up Codex code review

  1. Set up Codex cloud.
  2. Go to Codex settings.
  3. Turn on Code review for your repository.
Codex settings showing the Code review toggle

Request a Codex review

  1. In a pull request comment, mention @codex review.
  2. Wait for Codex to react (πŸ‘€) and post a review.
A pull request comment with @codex review

Codex posts a review on the pull request, just like a teammate would. In GitHub, Codex flags only P0 and P1 issues so review comments stay focused on high-priority risks.

Example Codex code review on a pull request

Enable automatic reviews

If you want Codex to review every pull request automatically, turn on Automatic reviews in Codex settings. Codex will post a review whenever someone opens a new PR for review, without needing an @codex review comment.

Customize what Codex reviews

Codex searches your repository for AGENTS.md files and follows any Review guidelines you include.

To set guidelines for a repository, add or update a top-level AGENTS.md with a section like this:

## Review guidelines

- Don't log PII.
- Verify that authentication middleware wraps every route.

Codex applies guidance from the closest AGENTS.md to each changed file. You can place more specific instructions deeper in the tree when particular packages need extra scrutiny.

For a one-off focus, add it to your pull request comment:

@codex review for security regressions

If you want Codex to flag typos in documentation, add guidance in AGENTS.md (for example, β€œTreat typos in docs as P1.”).

Act on review findings

After Codex posts a review, you can ask it to fix issues in the same pull request by leaving another comment:

@codex fix the P1 issue

Codex starts a cloud task with the pull request as context and can push a fix back to the branch when it has permission to do so.

Give Codex other tasks

If you mention @codex in a comment with anything other than review, Codex starts a cloud task using your pull request as context.

@codex fix the CI failures

Troubleshoot code review

If Codex doesn't react or post a review:

  • Confirm you turned on Code review for the repository in Codex settings.
  • Confirm the pull request belongs to a repository with Codex cloud set up.
  • Use the exact trigger @codex review in a pull request comment.
  • For automatic reviews, check that you turned on Automatic reviews and that the pull request event matches your review trigger settings.