Skip to content

infra: 코드리뷰 봇 설정 #4

infra: 코드리뷰 봇 설정

infra: 코드리뷰 봇 설정 #4

Workflow file for this run

name: Code Review
permissions:
contents: read
pull-requests: write
on:
pull_request:
types: [opened, reopened, synchronize]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: anc95/ChatGPT-CodeReview@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
LANGUAGE: Korean
OPENAI_API_ENDPOINT: https://api.openai.com/v1
MODEL: gpt-4o
# PROMPT: # example: Please check if there are any confusions or irregularities in the following code diff:
top_p: 1
temperature: 1
max_tokens: 10000
MAX_PATCH_LENGTH: 10000