use-cases/github-code-reviews.md +41 −15
11# Review pull requests faster | Codex use cases# Codex code review for GitHub pull requests | Codex use cases
2
3Codex use cases
4
5
6
7
8
9Codex use case
10
11# Codex code review for GitHub pull requests
12
13Catch regressions and potential issues before human review.
14
15Difficulty **Easy**
16
17Time horizon **5s**
18
19Use Codex code review in GitHub to automatically surface regressions, missing tests, and documentation issues directly on a pull request.
20
21## Best for
22
23 - Teams that want another review signal before human merge approval
24 - Large codebases for projects in production
25
26# Contents
2 27
3[← All use cases](https://developers.openai.com/codex/use-cases)28[← All use cases](https://developers.openai.com/codex/use-cases)
4 29
5Copy page [Export as PDF](https://developers.openai.com/codex/use-cases/github-code-reviews/?export=pdf)30Copy page [Export as PDF](https://developers.openai.com/codex/use-cases/github-code-reviews/?export=pdf)
6 31
732Use Codex in GitHub to automatically surface regressions, missing tests, and documentation issues directly on a pull request.Use Codex code review in GitHub to automatically surface regressions, missing tests, and documentation issues directly on a pull request.
8 33
9Easy34Easy
10 35
12 37
13Related links38Related links
14 39
1540[Use Codex in GitHub](https://developers.openai.com/codex/integrations/github) [Custom instructions with AGENTS.md](https://developers.openai.com/codex/guides/agents-md)[Codex code review in GitHub](https://developers.openai.com/codex/integrations/github) [Custom instructions with AGENTS.md](https://developers.openai.com/codex/guides/agents-md)
16 41
17## Best for42## Best for
18 43
37 62
38## How to use63## How to use
39 64
4065Start by adding Codex code review to your GitHub organization or repository. See [Use Codex in GitHub](https://developers.openai.com/codex/integrations/github) for more details.Start by adding Codex code review to your GitHub organization or repository.
66See [Codex code review in GitHub](https://developers.openai.com/codex/integrations/github) for more details.
41 67
42You can set up Codex to automatically review every pull request, or you can request a review with `@codex review` in a pull request comment.68You can set up Codex to automatically review every pull request, or you can request a review with `@codex review` in a pull request comment.
43 69
45 71
46This will start a new cloud task that will fix the issue and update the pull request.72This will start a new cloud task that will fix the issue and update the pull request.
47 73
4874## Define additional guidance## Define review guidance
49 75
50To customize what Codex reviews, add or update a top-level `AGENTS.md` with a section like this:76To customize what Codex reviews, add or update a top-level `AGENTS.md` with a section like this:
51 77
62 88
63## Related use cases89## Related use cases
64 90
6591[[
66 92
6793### Bring your app to ChatGPT### Deploy an app or website
68 94
6995Build one narrow ChatGPT app outcome end to end: define the tools, scaffold the MCP server...Use Codex with Build Web Apps and Vercel to turn a repo, screenshot, design, or rough app...
70 96
7197Integrations Code](https://developers.openai.com/codex/use-cases/chatgpt-apps)[Front-end Integrations](https://developers.openai.com/codex/use-cases/deploy-app-or-website)[
72 98
7399### Coordinate new-hire onboarding### Bring your app to ChatGPT
74 100
75101Use Codex to gather approved new-hire context, stage tracker updates, draft team-by-team...Build one narrow ChatGPT app outcome end to end: define the tools, scaffold the MCP server...
76 102
77103Integrations Data](https://developers.openai.com/codex/use-cases/new-hire-onboarding)[Integrations Code](https://developers.openai.com/codex/use-cases/chatgpt-apps)[
78 104
79105### Create a CLI Codex can use### Complete tasks from messages
80 106
81107Ask Codex to create a composable CLI it can run from any folder, combine with repo scripts...Use Computer Use to read one Messages thread, complete the task, and draft a reply.
82 108
83109Engineering Code](https://developers.openai.com/codex/use-cases/agent-friendly-clis)Knowledge Work Integrations](https://developers.openai.com/codex/use-cases/complete-tasks-from-messages)