Skip to content
aperture

GitHub Action

GPT PR Reviewer

1.3.3 Latest version

GPT PR Reviewer

aperture

GPT PR Reviewer

Review PR and suggest comments, improvments, using ChatGPT

Installation

Copy and paste the following snippet into your .yml file.

              

- name: GPT PR Reviewer

uses: galadrimteam/gpt-pr-review@1.3.3

Learn more about this action in galadrimteam/gpt-pr-review

Choose a version

GPT Pull request review

On a new pull request, check all the changes made to files, and check the code using GPT api. Note that it is only a support for lead developer to improve pull request reading efficiency, and detect minor errors for the developer.

Features

  • Check the patch file of every modification.
  • Send it to GPT and ask for a review with the context of a lead developer reading it.

Requirements

  • You must have a GPT Api key.

Setup

Example workflow setup:

name: GPT Review

on:
  pull_request:
    branches:
      - dev
jobs:
  gpt-review:
    runs-on: ubuntu-latest
    steps:
      - uses: galadrimteam/gpt-pr-review@1.3.3
        with:
          github-token: ${{ secrets.GITHUB_TOKEN }}
          gpt-api-key: ${{ secrets.GPT_API_KEY }}