Open jaredstorm opened 1 year ago
Or adding support for review_requested
which seems like it might be simpler and does most of the above, sans picking your model at request time.
I'm fine with that if the current way can still be used as a default. If that's possible, feel free to open a PR.
Awesome! Do you have any good resources on how to get started with developing github actions? I'm used to using them but haven't made/modified one before.
Not really unfortunately :/ If you find some, please link them here!
Hey! I'm wondering if it'd be possible to add
workflow_dispatch
as a supported event.Here are my reasons:
My use case is for a unity game that I'm working on. Many of the changes I put into pull requests are just for things like adding image or sound assets, or obligatory meta files for the unity engine that need to be tracked alongside game resources. That means pull requests can get to be hundreds of files big without really doing much with actual code. I really appreciate the exclusion filter and am using it, but it'd be nice to be able to opt in to an AI assisted review when I know my changes are code heavy and need extra eyes, instead of having to opt out of an already running workflow and cancel it when it's not really needed.
Cost savings. Since OpenAI is a paid service, being able to opt in to a review would save money for the user long term.
It would also make it possible to select from multiple different models in the UI. For example:
would make it so if someone felt they needed GPT to have a bigger context to work with for one pull request vs another, they wouldn't have to go into their
.yml
files or modify their github environment entries.I've never written an action before, but I can also take a crack at making a pull request when I get a little free time if you're up for this idea!