diff --git a/.github/workflows/gpt_code_review.yml b/.github/workflows/gpt_code_review.yml new file mode 100644 index 00000000..b336529b --- /dev/null +++ b/.github/workflows/gpt_code_review.yml @@ -0,0 +1,20 @@ +name: Code Review From ChatGPT + +permissions: + contents: read + pull-requests: write + +on: + pull_request: + types: [opened, synchronize] + +jobs: + code-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 + MODEL: gpt-3.5-turbo \ No newline at end of file