Find the Best Cosmetic Hospitals

Explore trusted cosmetic hospitals and make a confident choice for your transformation.

โ€œInvest in yourself โ€” your confidence is always worth it.โ€

Explore Cosmetic Hospitals

Start your journey today โ€” compare options in one place.

Private Self-Review of GitHub PRs with Codex (Without Posting Comments)

Private Self-Review of GitHub PRs with Codex (Without Posting Comments)

If you like Codex as a reviewer but donโ€™t want its feedback to show up publicly on your pull requests, the trick is simple:

  • Use the GitHub integration only when you want a visible PR review.
  • Use Codex CLI (local) for private self-reviewโ€”nothing gets posted back to GitHub.

This tutorial shows exactly how to set that up.


Why this matters

When Codex is connected to GitHub PRs, its review output appears in the PR like any other review comment. Anyone with access to the PR can see it.

So if your goal is:

โœ… โ€œReview only when I askโ€
โœ… โ€œKeep the feedback private for my own self-reviewโ€

โ€ฆthen local review via Codex CLI is the right workflow.


Part 1: Stop Codex from auto-reviewing PRs

In Codex โ†’ Settings โ†’ Code review:

  1. Keep Personal auto review preferences = OFF
  2. Donโ€™t enable repository-level automatic review triggers (like โ€œreview on PR openโ€)

This ensures Codex wonโ€™t review every PR automatically.

Result: Codex reviews happen only when you explicitly request them.


Part 2: Understand โ€œWill Codex review the entire codebase?โ€

No. Codex CLI review is usually focused on your diff:

  • your PR branch vs a base branch (ex: main)
  • a single commit
  • only uncommitted changes

Codex may open surrounding files for context, but it is not doing a full repo-wide audit unless you explicitly ask for that kind of analysis.


Part 3: Private self-review of a PR using Codex CLI

Step 1 โ€” Check out the PR branch locally

If you use GitHub CLI:

gh pr checkout <PR_NUMBER>
Code language: HTML, XML (xml)

Or with git:

git fetch origin pull/<PR_NUMBER>/head:pr-<PR_NUMBER>
git checkout pr-<PR_NUMBER>
Code language: HTML, XML (xml)

Step 2 โ€” Run Codex CLI in your repo

cd /path/to/your/repo
codex

Step 3 โ€” Run a private review

Inside Codex CLI:

/review

Then choose what you want to review:

  • Branch vs base (recommended): review your PR branch compared to main
  • Single commit: useful if your PR is largeโ€”review in chunks
  • Uncommitted changes: great before you commit or push

Step 4 โ€” Confirm whatโ€™s being reviewed (optional)

To see the exact diff Codex is looking at:

/diff

Thatโ€™s it.
You now get review feedback privately in your terminal/IDE and nothing is posted to the PR.


Best practice workflow (simple and effective)

  1. Before pushing: run /review on uncommitted or staged changes
  2. Before opening PR: run /review against main
  3. Only when needed: use @codex review in GitHub to get a team-visible review

This gives you both:

  • private self-review whenever you want
  • public review only when you choose

FAQ

1) Can Codex review my PR privately inside GitHub without others seeing it?

No. If Codex posts a review to the PR via the GitHub integration, itโ€™s visible to anyone who can access that PR. For private feedback, run the review locally using Codex CLI (or your IDE) instead.

Yes โ€” it can โ€œcostโ€ in the sense that it consumes your Codex allowance (quota), and may consume paid credits if you go past the included limits.

If youโ€™re using Codex with your ChatGPT login (Plus / Pro / Business / Enterprise / Edu)

  • No extra charge up to your planโ€™s included limits โ€” Codex is included with these plans. (OpenAI Developers)
  • Your PR self-review (via Codex CLI /review) will consume your local-message / local-task usage window. (OpenAI Developers)
  • If you hit the included limits, you can extend usage by buying ChatGPT credits (so then it does cost). (OpenAI Developers)

If you trigger review in GitHub (@codex review)

  • That counts as Code Review usage (cloud/GitHub), and itโ€™s the type thatโ€™s explicitly โ€œchargedโ€ in the rate card / credits model. (OpenAI Help Center)

If you authenticate Codex with an API key

  • Then itโ€™s pay-as-you-go API billing (โ€œpay only for the tokens Codex usesโ€), separate from your ChatGPT subscription. (OpenAI Developers)

How to check what youโ€™re spending

  • In Codex: usage dashboard (and in CLI you can use /status to see remaining limits). (OpenAI Developers)

If you tell me which plan youโ€™re on (Plus/Pro/Business/Enterprise) and whether youโ€™re using GitHub @codex review or CLI /review, I can tell you exactly which quota bucket youโ€™re consuming.

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services โ€” all in one place.

Explore Hospitals
I'm Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms. I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.

Related Posts

Best AI Problem-Solving Tools for Work and Life

My friend broke a spreadsheet formula last week. Not badly โ€” just enough that three cells returned garbage and she couldn’t figure out why. Fifteen minutes of…

Read More

How Businesses Can Improve Employee Productivity With Time Tracking

Employee productivity has become a major focus for businesses across industries. As companies adopt remote, hybrid, and flexible working models, understanding how employees manage their time and…

Read More

How Data Security and Legal Compliance Work Together in DevOps

A team is ready to ship a new customer dashboard. Tests pass, the database is encrypted, and deployment takes minutes. Then someone notices that production records have…

Read More

Leading Snowflake Implementation Providers: 8 Firms Ranked for 2026

https://img.magnific.com/free-photo/team-software-engineers-doing-brainstorming-office_482257-123976.jpg?semt=ais_hybrid&w=740&q=80 TL;DR We built this guide to help you find the right Snowflake implementation partner for 2026. STX Next stands out as the strongest overall choice, thanks…

Read More

How to Build Your Own Hosting Server on a Budget

Have you outgrown the resource limits of shared hosting? Are you tired of paying more each time you need additional hosting resources? Do you crave more control…

Read More

Where Web Design and Engineering Need to Work Together

A website may look polished and still underperform if the design and engineering decisions behind it do not support the same goals. Visual structure, frontend code, page…

Read More
Subscribe
Notify of
guest
1 Comment
Newest
Oldest Most Voted
Skylar Bennett
Skylar Bennett
7 months ago

Really insightful post! I like the idea of doing a private self-review of PRs before sharing feedback publicly โ€” itโ€™s a smart way to improve code quality without adding noise to the discussion. Simple, practical, and very useful for developers. Great share!

1
0
Would love your thoughts, please comment.x
()
x