Skip to content

Add GPT-based code review #2

Add GPT-based code review

Add GPT-based code review #2

Workflow file for this run

name: GPT Code Review 🤖
permissions:
contents: read
pull-requests: write
on:
pull_request:
types:
- opened
- reopened
- synchronize
jobs:
review:
name: GPT Code Review 🤖
runs-on: ubuntu-latest
steps:
- name: GPT Code Review 🤖
uses: anc95/ChatGPT-CodeReview@main
env:
GITHUB_TOKEN: "${{ secrets.REPO_GITHUB_TOKEN }}"
OPENAI_API_KEY: "${{ secrets.OPENAI_API_KEY }}"
MODEL: gpt-3.5-turbo
top_p: 1
temperature: 1