Especially, The last option is interesting, as it is now much easier to create integrations with custom actions. Developers no longer need to create plugin (which was such complex process).
The purpose is not to submit all GPT suggestions without human check. I want to use GPTs comments just as a hint what I should look at, so I will be updating/deleting it’s comments most of the time. Therefore we must make sure that review submitted to GitHub remains in PENDING state and those automatic comments are recognizable so I use By GPT: prefix.
Starting with custom GPT you must have GPT Plus subscription! Go to ChatGTP website. It can be created by clicking Explore and then Create a GPT (see picture bellow).
Let’s configure actions first before instructions, as it is fundamental part of the configuration. Actions are manifest of OpenAPI specification written in JSON format.
Now, let’s test it on one PR done by dependabot in repo of this blogpost: https://github.com/gantrior/tomas-panik-blog/pull/5