Skip to content

Add ChatGPT Code Review workflow #1

Add ChatGPT Code Review workflow

Add ChatGPT Code Review workflow #1

Workflow file for this run

name: Code Review by ChatGPT
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
code_review:
runs-on: ubuntu-latest
steps:
- uses: anc95/ChatGPT-CodeReview@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
MODEL: gpt-4o-mini
max_tokens: 10000
MAX_PATCH_LENGTH: 10000