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

Enable to make GPT review in draft #102

Open
yu-iskw opened this issue Jun 5, 2023 · 1 comment
Open

Enable to make GPT review in draft #102

yu-iskw opened this issue Jun 5, 2023 · 1 comment

Comments

@yu-iskw
Copy link

yu-iskw commented Jun 5, 2023

Motivation

I would like to make the Action to review even in draft. If a pull request gets ready to review, humans get in the loop of the review. Developers have to pass code refined with GPT to humans beforehand.

https://github.com/anc95/ChatGPT-CodeReview/blob/main/src/bot.ts#L58

Possible Solution

We may pass an input or an environment variable to the Action whether or not we run the Action in draft.

Aside from that, it would be good to clearly define inputs and outputs of the Action in action.yml so that users of the Action can easily understand them.

@anc95
Copy link
Owner

anc95 commented Jun 6, 2023

@yu-iskw Yes. agreed, we can add a env variable to control whether review the draft pr

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

No branches or pull requests

3 participants
@yu-iskw @anc95 and others