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 a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at <a href="https://www.cotocus.com/">Cotocus</a>. I share tech blog at <a href="https://www.devopsschool.com/">DevOps School</a>, travel stories at <a href="https://www.holidaylandmark.com/">Holiday Landmark</a>, stock market tips at <a href="https://www.stocksmantra.in/">Stocks Mantra</a>, health and fitness guidance at <a href="https://www.mymedicplus.com/">My Medic Plus</a>, product reviews at <a href="https://www.truereviewnow.com/">TrueReviewNow</a> , and SEO strategies at <a href="https://www.wizbrand.com/">Wizbrand.</a> Do you want to learn <a href="https://www.quantumuting.com/">Quantum Computing</a>? <strong>Please find my social handles as below;</strong> <a href="https://www.rajeshkumar.xyz/">Rajesh Kumar Personal Website</a> <a href="https://www.youtube.com/TheDevOpsSchool">Rajesh Kumar at YOUTUBE</a> <a href="https://www.instagram.com/rajeshkumarin">Rajesh Kumar at INSTAGRAM</a> <a href="https://x.com/RajeshKumarIn">Rajesh Kumar at X</a> <a href="https://www.facebook.com/RajeshKumarLog">Rajesh Kumar at FACEBOOK</a> <a href="https://www.linkedin.com/in/rajeshkumarin/">Rajesh Kumar at LINKEDIN</a> <a href="https://www.wizbrand.com/rajeshkumar">Rajesh Kumar at WIZBRAND</a> <a href="https://www.rajeshkumar.xyz/dailylogs">Rajesh Kumar DailyLogs</a>

Related Posts

Top 10 Help Desk Software Tools in 2026: Features, Pros, Cons & Comparison

Introduction In the fast-paced business environment of 2026, excellent customer service is more than just a competitive advantageโ€”it’s a requirement. Customers expect immediate responses, seamless communication, and…

Read More

Real-Time Visibility and Transparency in Campaigns โ€” A Guide by Gentenox Enterprises Limited

Most marketers believe they already have visibility into their campaigns. Gentenox Enterprises argues otherwise. There is a meaningful difference between receiving scheduled reports and having genuine real-time…

Read More

Certified DataOps Manager Certification: A Comprehensive Career Guide

Introduction The CDOM โ€“ Certified DataOps Manager is a professional credential designed to bridge the gap between data engineering and operational excellence. As organizations transition from traditional…

Read More

Create Graphite Dashboards and Alerts in Grafana 13 using Telegraf Linux Metrics

Lab Goal In this lab, students will learn how to use Grafana 13 with Graphite as a data source and create a Linux monitoring dashboard using metrics…

Read More

Graphite: How to install and Configure graphite monitoring tool

Commands to run all setup Rajesh Kumar Iโ€™m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at Cotocus. I share tech blog at…

Read More

Master the Intersection of AI and Operations: A Guide to the Certified MLOps Manager

The transition from experimental machine learning to production-grade artificial intelligence has created a significant gap in the engineering world. Many organizations struggle to move models out of…

Read More
Subscribe
Notify of
guest
1 Comment
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
Skylar Bennett
Skylar Bennett
2 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