diff --git a/.github/workflows/cr.yml b/.github/workflows/cr.yml new file mode 100644 index 0000000..65ad8f5 --- /dev/null +++ b/.github/workflows/cr.yml @@ -0,0 +1,18 @@ +name: OpenAI Code Review + +permissions: + contents: read + pull-requests: write + +on: + pull_request: + types: [opened, 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