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

AI-Assisted Observability: Turning Logs into Actionable Insights

Introduction There is a specific kind of dread that every on-call engineer knows. It is 2:47 AM. Your phone is screaming. Latency on the checkout service has…

Read More

Medical Tourism Made Simple: A Complete Guide to Finding Global Healthcare

When you or a loved one faces a health challenge, the world suddenly feels very small and very complicated. You are often left with urgent questions: Which…

Read More

Take Control of Your Health: The Ultimate Guide to Transparent Healthcare

The journey to finding the right medical treatment can often feel overwhelming. Whether you are dealing with a sudden illness or planning a complex elective surgery, the…

Read More

Top 10 Construction Estimating Software: Features, Pros, Cons & Comparison

Introduction Construction estimating software is a specialized digital solution designed to help contractors, builders, and construction professionals accurately calculate project costs before work begins. These tools bring…

Read More

Top 10 IT Financial Management Tools: Features, Pros, Cons & Comparison

Introduction IT Financial Management (ITFM) tools help organizations plan, track, optimize, and govern IT spending with the same rigor used in core finance operations. As IT environments…

Read More

Top 10 Accounting Software: Features, Pros, Cons & Comparison

Introduction Accounting software is a digital system designed to record, manage, analyze, and report financial transactions for individuals and organizations. It replaces manual bookkeeping and spreadsheets with…

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