Closed maronghe closed 1 year ago
you are using GitHub action or GitHub app?
Is GitHub app meaning that add
- name: ChatGPT CodeReviewer
uses: anc95/ChatGPT-CodeReview@v1.0.3
into a .yml file ?
No. This is GitHub action. You should set the OPENAI_API_KEY in secrets, and then pass it as an env var in the yml file
@maronghe
Based on my understanding, it seems like you can just follow the instructions in the image below and ignore the parts listed in the install.
ok let me try
I have the same problem
I had the same issue before, but I have resolved it now.
I set the OPENAI_API_KEY in Secrets instead of Variables @godkor200
I've already set it up, but the same problem is happening.
@yimelia
I've already set it up, but the same problem is happening. @yimelia
goto Actions, click Code Review
, and check if it is empty here?
I solved it. It wasn't a secret, but I added a key to the variables @yimelia
If you are using github action, set the key in secret. And if you are using the app, set the key in variable (cause we can't access secret in github app)
Yes. thank you all. I have solved this problem. This is a great CR tool.
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
Could you let me know, why my github demo project still get the message?