Skip to content

Commit

Permalink
infra: 코드리뷰 봇 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
chansooo committed Jun 14, 2024
1 parent f2eafcd commit d451605
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/codeReview.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
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

0 comments on commit d451605

Please sign in to comment.