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 AI Whistleblower Report Triage Tools: Features, Pros, Cons & Comparison

Introduction Organizations receive thousands of whistleblower reports every year through ethics hotlines, anonymous reporting portals, email, chat, mobile applications, and internal reporting systems. These reports may involve…

Read More

Top 10 AI Data Retention Classification Tools: Features, Pros, Cons & Comparison

Introduction As organizations generate unprecedented volumes of structured and unstructured data, managing how long information should be retainedโ€”and when it should be archived or securely deletedโ€”has become…

Read More

Top 10 AI Privacy Impact Assessment Tools: Features, Pros, Cons & Comparison

Introduction Artificial Intelligence is rapidly becoming a core part of business operations, from customer service chatbots and intelligent document processing to predictive analytics and autonomous decision-making. While…

Read More

Top 10 AI Audit Sampling Optimization Tools: Features, Pros, Cons & Comparison

Introduction Artificial Intelligence (AI) is transforming how internal and external audits are planned, executed, and validated. One of the most impactful applications is AI Audit Sampling Optimization,…

Read More

macOS Screen Sharing / Remote Management Troubleshooting Guide

Purpose This guide explains how to troubleshoot macOS Screen Sharing or Remote Management connection issues when connecting from one Mac to another using: Typical symptoms include: 1….

Read More

Why Do Software Modernization Projects Fail? 5 Traps That Destroy Modernizations from the Inside

Companies approaching software modernization for the first time almost always stumble over the same obstacle โ€” and it isnโ€™t a technical one. Software modernization most often fails…

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