In short.
This guide helps GitHub developers add Codex pull request reviews, but those reviews do not replace tests or required approvals. It documents manual and automatic review, guidance scoped to changed files, and a separate Security Review research preview. Standard GitHub reviews report only P0 and P1 issues. Pricing, plan eligibility and measured review quality are not established by the page.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage includes the complete supplied documentation page at exactly [https://learn.chatgpt.com/docs/third-party/github.md], including setup, commands, automatic-review settings, AGENTS.md guidance, Security Review's research-preview notice and troubleshooting. Linked pages, the documentation index, legacy connection instructions, the video walkthrough and detailed Security Review documentation are excluded. Image descriptions were supplied; the underlying images were not assessed. No repository was connected, command executed or review observed, so operational behavior and review quality remain unassessed.
The overview
Identity
Review GitHub pull requests with Codex is a documentation guide hosted at [https://learn.chatgpt.com/docs/third-party/github.md]. It explains how to configure and request Codex reviews inside GitHub and customize them with repository instructions.
The resource is instructional documentation. It does not supply an installable code library, model or standalone review tool.
Assessment
The guide is useful for developers who want an additional review pass focused on consequential code changes. Its practical strengths are exact request commands, automatic-review settings, examples of scoped guidance and checks for missing responses.
The page describes intended behavior but provides no measured detection accuracy, false-positive rate or review speed. Its description of a high-signal review is not supported by benchmark results here.
Users
Individual developers can use the documented pull request comments to request reviews. Repository maintainers can configure automatic reviews, while teams can encode compatibility constraints, data boundaries and unsafe side effects in AGENTS.md.
The guide assumes familiarity with GitHub repositories, pull requests and repository permissions. It gives concrete setup steps, but does not teach GitHub fundamentals.
Capabilities
Codex reviews the pull request diff and posts a standard GitHub code review. The documented manual trigger is @codex review. Automatic reviews can run on configured pull request events. Standard reviews flag only P0 and P1 issues, keeping comments focused on high-priority risks.
Applicable root and nested AGENTS.md files provide repository-specific review rules. A request comment can also specify a one-off focus, such as database migration issues.
Security Review analyzes security risks using the diff, supporting repository context and configured threat models or security guidance. Its manual trigger is @codex security review. Findings appear on the pull request, with a fuller report available in the associated Codex task.
Using it
Requirements
The page requires a GitHub repository connected to Codex and access to Codex code review settings. Configuring automatic reviews requires GitHub push or admin permission for the repository settings.
AGENTS.md is optional and supplies repository-specific guidance. Supported subscription plans, organization authorization requirements, supported languages and integration permission details are not specified.
Mechanism
Codex examines the proposed changes and follows the review guidance that applies to each changed file. Root AGENTS.md rules provide repository-wide context; more-specific files add guidance for the code they govern.
Security Review adds analysis of supporting repository context and configured security guidance. General Code Review can also identify security issues, so findings may overlap.
The page does not identify the underlying model, explain whether code executes during a review, or describe the full data-processing architecture.
Setup
Connect the repository, open [https://chatgpt.com/settings/code-review], choose the repository and enable Automatic review under Review code. For automatic reviews of your pull requests, also enable Automatic review under Personal preferences and choose the Review trigger.
For Security Review, choose the repository and enable Auto security review under Review security vulnerabilities. Select whose pull requests receive reviews. Setting Trigger to Whenever code review runs pairs it with general Code Review.
If no response appears, the guide recommends checking repository connection, repository review enablement, the exact @codex review command, personal preferences and whether the pull request event matches the configured trigger.
Example
For a migration-focused review, the page gives this pull request comment: @codex review for issues in the database migration.
Its repository-rule example concerns experiment reporting: avoid defining treatment comparisons using behavior that happens after exposure, such as conversion or retention. Build cohorts from assignment or exposure and report conversion as an outcome. Such guidance can live in services/experiment_reporting/AGENTS.md so it applies to the relevant service.
These are documented examples; no resulting review findings or execution results are supplied.
Assessment & evidence
Limitations
Standard GitHub reviews report only P0 and P1 issues, so they do not provide a general inventory of lower-priority findings. The guide explicitly says review rules do not replace tests, branch protections or required approvals.
Security Review is described as a research preview. The page does not establish comprehensive vulnerability coverage, supported vulnerability classes or detection reliability.
Review latency, behavior on large changes and effectiveness across programming languages are not assessed by the supplied evidence.
Reasoning
The documented priority restriction suggests this is best used as an additional check for consequential defects. It provides no basis for expecting exhaustive review coverage.
The guidance favors a few durable rules that explain the risk, safe behavior and exceptions. This gives developers a concrete way to express context an automated reviewer needs. Whether those rules improve findings in a particular repository remains unmeasured.
The page places formatting, linting and other deterministic checks in continuous integration, leaving review guidance focused on repository-specific behavior.
Alternatives
The guide offers manual review requests for individual pull requests and automatic reviews for configured events. General Code Review covers serious issues broadly; Security Review provides a deeper security-focused pass and can run alongside it.
Tests, branch protections and required approvals remain complementary safeguards. The page provides no comparison with other automated review products, so relative quality, cost and suitability are unknown.
Evidence
The source is the complete documentation page at [https://learn.chatgpt.com/docs/third-party/github.md]. Its supplied snapshot has source revision sha256:582bb228cbbb975bea29fbdd8ee27137ed1511e292bca49cf94528a9cd338e8a.
The page supports the setup steps, commands, guidance behavior and troubleshooting described here. It includes illustrative text and a walkthrough link, but supplies no independent evaluation or measured operational results. Nothing was executed.
Access & freshness
Costs
The page gives no prices, included review allowances, usage limits or separate Security Review charges. Eligible subscription plans are also unspecified. The cost of using either review feature is unknown from this evidence.
Rights
The supplied page contains no documentation license or explicit redistribution grant. Permission to redistribute the captured documentation is therefore not established.
Terms covering repository data, review-output ownership, data retention and model-training use are not provided. Those rights and conditions are unknown from this page.
Freshness
The supplied page was captured at 2026-11-25T00:40:17.689Z. No publication date, last-updated date, release number or underlying model version appears in the evidence.
Security Review carries a research-preview notice in that snapshot. Availability and settings changes after the capture are unknown.
Actions
Start by confirming repository connection and review settings, then request @codex review on a representative pull request. Add two or three concise rules describing important repository behavior, place them near the relevant code and refine them using the findings and feedback.
Use @codex security review when a deeper security-focused pass is needed. Keep tests, branch protections and required approvals in place. Confirm access and pricing before relying on either feature, because this page does not establish them fully.
