Codex in Github Not Reviewing PRs

After adding Codex to my GitHub repo, granting it permission to review all repos, and submitting a PR, I’m not seeing where Codex is automatically review my PRs as advertised. Upon submitting a comment in the discussion section (@codex review), I get the following error: “To use Codex here, create a Codex account and connect to github.”

I have a ChatGPT Plus account and I’ve been able to use Codex locally via the IDE extension.

Anyone knows how to resolve this issue?

4 Likes

Hi and welcome to the community!

This is a strange error message because as of today there are no separate codex accounts. Instead Codex can be used with an API key or a ChatGPT subscription.
Can you confirm that you are using OpenAI Codex and not a third party app with a confusingly similar name?

2 Likes

We are in agreement that it is strange. However, it is the right extension that is integrated in GitHub.

When I click on the link, it takes me to the official ChatGPT Codex site (the forum is blocking me from posting links).

1 Like

3 Likes

Indeed this looks interesting.
I will ping staff to get some clarification.

Unfortunately, in the meantime I have no better suggestion than to turn it off and back on again uninstall and reinstall the GitHub app.

1 Like

:smiley: Good suggestion. I’ve tried that and it yielded the same results, I’m afraid. Definitely hoping you guys solve this soon so I can look into cancelling my Cursor Bugbot subscription lol

2 Likes

I learned that pinging @ codex will actually work when the ChatGPT account is connected to the GitHub account. This needs to be done from inside ChatGPT → Settings → Connectors

The team also updated the description of the codex organization on GitHub. This organization is separate from the OpenAI organization and exists only to allow pinging @ codex on GitHub.

I hope this helps!

1 Like

I had already connected My GitHub account to my ChatGPT account.

I tried disconnecting my GitHub account and then reconnecting it and that worked!

2 Likes

Great!
On my side I noted a prompt to confirm additional permissions required by the app. Most likely because I connected it shortly after the Codex GitHub app was released and there have been feature upgrades in the meantime.

1 Like

i have the same issue

in Code Review settings its telling me

Action required
Some repos require updated GitHub permissions for code reviews to work

so i click the “Update” button which takes me to the github install page, and there everythign is set properly (it has access to my repo)

however as many times as i save and confirm this, mentioning @codex doesnt work in a PR (i get the same message back as OP)

some more context: this used to work for me but then it just stopped one day

1 Like

Same here.

It shows “Action require” “Some repos require updated GitHub permissions for code reviews to work” but when I open it theres nothing to change.

Already disconnected and connected again, removed and added the repo as well, and still the same.

I had to disconnect and then reconnect GitHub to Codex.

Then the problem was solved.

2 Likes

I had the same issue as well.

I had to disconnect and then reconnect GitHub to Codex. Worked for me.

It seems to happen anytime I “add” a new repository for PR review. A bit annoying, might want to take this product.

1 Like

This still doesn’t work. Uninstalling from GitHub and reinstalling just wastes my time.

I’m still having this same issue.

+1 for this not working. Tried disconnecting and reconnecting, deleting all permissions and reinstalling, nothing works.

The PR Review feature is tightly coupled with the Branch format input field in Settings > General (Codex web-app). It defaults to codex/{feature}. Rename it to your actual repo name (e.g., myrepo/{feature}).

Once saved, go to your open PR on GitHub and tag Codex in a new comment. It should respond with an eyes emoji, indicating Codex has started reviewing your PR.

Also, on the Connectors tab (Codex web-app), ensure the GitHub account associated with Codex is correct. Click the Settings button, go to GitHub, and verify your account has access to the necessary repos. The same applies to organization repos. You don’t need to configure granular repo access to get it working.

2 Likes

Hi and welcome to the community!

I don’t see any options to configure these parameters on GitHub when selecting the Codex app via the settings.

That’s within the Codex web-app (/codex/settings/general). Sorry for not being more specific earlier.

1 Like

also having the same issue , disconnecting GitHub in Codex settings and reconnecting it DID NOT solved the problem , and indeed it used to work