Chat GTP - Azure Logic App to Review Pull using chat GTP
This Post is an example of how you can automate your Pull request comments. GitHub Link : https://github.com/BasantPandey/ChatGTP-Logic-App-Review-Pull-Request#introduction Introduction First, you need to create a Logic App in Azure. You can do this by going to the Azure portal and searching for "Logic App" in the search bar. Then, click "Create" and follow the prompts to set up your Logic App. Once you have your Logic App set up, you need to add a trigger. In this case, we want the Logic App to be triggered when a new pull request is created in ADO. To do this, add the "Azure DevOps - When a pull request is created" trigger to your Logic App. Next, you need to add an action to your Logic App to create a code review. For this, we will use ChatGPT. Add the "HTTP - HTTP" action to your Logic App and configure it to use the ChatGPT API to generate a code review. You will need to provide the necessary inputs to the API, such as the code to be revi...