pabloteari / azure-pipeline-gpt-pr-review

Azure DevOps extension adding tools to review Pull Requets using Azure Pipelines

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use OpenAI GPT model to review Pull Requests for Azure Devops

A task for Azure DevOps build pipelines to add GPT as PR reviewer

Installation

Installation can be done using Visual Studio MarketPlace.

Usage

Add the tasks to your build definition.

Setup

Give permission to the build service agent

before use this task, make sure that the build service has permissions to contribute to pull requests in your repository :

contribute_to_pr

Allow Task to access the system token

Yaml pipelines

Add a checkout section with persistCredentials set to true.

steps:
- checkout: self
  persistCredentials: true

Classic editors

Enable the option "Allow scripts to access the OAuth token" in the "Agent job" properties :

allow_access_token

Contributions

Found and fixed a bug or improved on something? Contributions are welcome! Please target your pull request against the main branch or report an issue on GitHub so someone else can try and implement or fix it.

License

MIT

About

Azure DevOps extension adding tools to review Pull Requets using Azure Pipelines

License:MIT License


Languages

Language:TypeScript 100.0%