anc95 / ChatGPT-CodeReview

🐥 A code review bot powered by ChatGPT
https://github.com/apps/cr-gpt
ISC License
3.77k stars 361 forks source link

bug: cannot review code and run no error #95

Open guguducken opened 1 year ago

guguducken commented 1 year ago

hello, I have some question when i use this action to review my code in pr, the workflow is success and no any logs, but not any review message appear in my pr, this is why? link: https://github.com/matrixorigin/matrixone/actions/runs/5089548569/jobs/9147314734 help(。ì _ í。)@anc95

anc95 commented 1 year ago

@guguducken Could you please use the latest version v1.0.7? I have added some logs to explain why the review did not succeed.

guguducken commented 1 year ago

@guguducken Could you please use the latest version v1.0.7? I have added some logs to explain why the review did not succeed.

I use version v1.0.7 in my private repo, it output the same result.

image

did I make configure error in somewhere?

image
guguducken commented 1 year ago

help me, bro@anc95 https://github.com/guguducken/matrixone/actions/runs/5090825047/jobs/9150120536?pr=6

anc95 commented 1 year ago

@guguducken hey, I see that you configured the if:, it's optional, please remove it and try again.

fedealconada commented 1 year ago

i'm trying to make it work with the if: but seems like it does not...

guguducken commented 1 year ago

sorry for reply so late, this is a bug,the reason is the trigger event is pull_request but that cannot read secrets, so I use pull_request_target to replace it. And this action cannot get the pull_request_target event.