Feature : GPT-Review 기능 추가 #3
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: | |
types: [ opened, reopened, synchronize, labeled ] | |
jobs: | |
test: | |
if: contains (github.event.pull_request.labels.*.name, 'GPT-REVIEW') | |
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 | |
PROMPT: 한국어로 작성할 것 |