Open thigosaquette opened 1 year ago
@thigosaquette You are using github action, and add the OPENAI_API_KEY in Secrets
is needed.
@anc95, when i insert OPENAI_API_KEY on Action Secrets too, the code reviewer bot don't review anymore. I tried insert in the Codespace and Dependabot Secrets too.
@thigosaquette Do you find any logs in the action execution, there might skip the review in some cases, and it would print in the console.
the code reviewer bot don't review anymore too
the code reviewer bot don't review anymore too
+1 code review no more working
@loloxwg @bjwswang Please check if you have an available API key set. I just checked the server log. The two top errors are 1. 429, you exceed your API key quota. 2. 401, Invalid OpenAI API Key
Anyone still facing this problem? I tried and am running into the same issue as OP.
Use pull_request_target
instead of pull_request
, since it has no access to secrets
on:
pull_request_target:
types: [opened, reopened, synchronize]
Has anyone been having luck with this? It's been non-functional for me so far. pull_request_target
didn't help.
The app response:
Seems you are using me but didn't get OPENAI_API_KEY seted in Variables/Secrets for this repo. you could follow readme for more information.
My .github/workflow/cr.yml config:
And my github variables: