use-cases/github-code-reviews.md +43 −10
1# Review pull requests faster | Codex use cases1# Review pull requests faster | Codex use cases
2 2
3Codex use cases
4
5
6
7
8
9Codex use case
10
11# Review pull requests faster
12
13Catch regressions and potential issues before human review.
14
15Difficulty **Easy**
16
17Time horizon **5s**
18
19Use Codex 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
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
30Copy page [Export as PDF](https://developers.openai.com/codex/use-cases/github-code-reviews/?export=pdf)
31
5Use Codex in GitHub to automatically surface regressions, missing tests, and documentation issues directly on a pull request.32Use Codex in GitHub to automatically surface regressions, missing tests, and documentation issues directly on a pull request.
6 33
7Easy34Easy
23 50
24 Focus the review on risky surfaces such as secrets, auth, and dependency changes.51 Focus the review on risky surfaces such as secrets, auth, and dependency changes.
25 52
53| Skill | Why use it |
54| --- | --- |
55| [Security Best Practices](https://github.com/openai/skills/tree/main/skills/.curated/security-best-practices) | Focus the review on risky surfaces such as secrets, auth, and dependency changes. |
56
26## Starter prompt57## Starter prompt
27 58
28@codex review for security regressions, missing tests, and risky behavior changes.59@codex review for security regressions, missing tests, and risky behavior changes.
29 60
61@codex review for security regressions, missing tests, and risky behavior changes.
62
30## How to use63## How to use
31 64
32Start 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.65Start 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.
54 87
55## Related use cases88## Related use cases
56 89
5790[[
58 91
5992### Bring your app to ChatGPT### Deploy an app or website
60 93
6194Build 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...
62 95
6396Integrations Code](https://developers.openai.com/codex/use-cases/chatgpt-apps)[Front-end Integrations](https://developers.openai.com/codex/use-cases/deploy-app-or-website)[
64 97
6598### Coordinate new-hire onboarding### Bring your app to ChatGPT
66 99
67100Use 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...
68 101
69102Integrations Data](https://developers.openai.com/codex/use-cases/new-hire-onboarding)[Integrations Code](https://developers.openai.com/codex/use-cases/chatgpt-apps)[
70 103
71104### Create a CLI Codex can use### Complete tasks from messages
72 105
73106Ask 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.
74 107
75108Engineering 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)