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.
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.
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.