[Refactor] 멘토님 코드 리뷰용 PR 생성 #286
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Code Review | |
permissions: | |
contents: read | |
pull-requests: write | |
on: | |
pull_request: | |
pull_request_review_comment: | |
types: [created] | |
concurrency: | |
group: | |
${{ github.repository }}-${{ github.event.number || github.head_ref || | |
github.sha }}-${{ github.workflow }}-${{ github.event_name == | |
'pull_request_review_comment' && 'pr_comment' || 'pr' }} | |
cancel-in-progress: ${{ github.event_name != 'pull_request_review_comment' }} | |
jobs: | |
review: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: coderabbitai/ai-pr-reviewer@latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} | |
with: | |
debug: false | |
disable_review: true | |
review_simple_changes: false | |
review_comment_lgtm: false | |
openai_light_model: gpt-3.5-turbo | |
openai_heavy_model: gpt-4o-2024-05-13 | |
language: ko-KR |