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

Top 10 Digital Business Card Tools for Tech Professionals and Remote Teams in 2026

Navigating the vendor floor at AWS re:Invent, presenting at KubeCon, or managing a distributed engineering team across six time zones: regardless of the context, exchanging contact information…

Read More

Top DevOps Companies in 2026: 10 Best Firms for Startups and Enterprises

The top DevOps companies in 2026 span boutique specialists that embed with a client’s team in weeks and global integrators running thousand-engineer programs. The best DevOps companies…

Read More

Data Lake Architecture Best Practices for DataOps Teams

Modern DataOps teams rely on data lakes to store, process, and analyze growing volumes of structured and unstructured data. However, simply deploying a data lake is not…

Read More

Best EHR Software Development Companies in the USA for FHIR, HIPAA, and Beyond

An EHR system is not a typical software project. It sits at the intersection of clinical workflow, compliance, interoperability, and patient safety, and any one of these…

Read More

The Role of DevOps Practices in Softalium Limited’s Software Delivery Model

Most software is not something that fails at launch. The failure tends to come three months later, when a routine update breaks something that nobody on the…

Read More

How to Fill Out PDF Forms Online Quickly and Without Any Stress

Paperwork becomes stressful when small omissions lead to delays, rejected requests, or repeated submissions. A PDF form may involve tax records, vehicle details, school enrollment, consent forms,…

Read More
Subscribe
Notify of
guest
1 Comment
Newest
Oldest Most Voted
Skylar Bennett
Skylar Bennett
5 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