Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid event payload in draft PR #133

Closed
0kenx opened this issue Sep 18, 2023 · 1 comment · Fixed by #134
Closed

Invalid event payload in draft PR #133

0kenx opened this issue Sep 18, 2023 · 1 comment · Fixed by #134

Comments

@0kenx
Copy link
Contributor

0kenx commented Sep 18, 2023

When this action is used in a draft PR, it results in error:

Run anc95/ChatGPT-CodeReview@main
invalid event paylod
@0kenx
Copy link
Contributor Author

0kenx commented Sep 18, 2023

I see that this is intentional

console.log('invalid event paylod');
, but it shouldn't be.

For my use case, if I use the review bot only when the PR is complete, then it would always exceed the OpenAI token limit. So I want to use the bot for every commit in a draft PR instead.

@0kenx 0kenx mentioned this issue Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant