From 5d1160716dbc193a84ca6718e010ff87ef2078d1 Mon Sep 17 00:00:00 2001 From: Will Hohyon Ryu Date: Thu, 7 Mar 2024 19:28:57 -0800 Subject: [PATCH] chore: Update code_review.yml and README.md with language options for AI Code Reviewer plugin --- .github/workflows/code_review.yml | 3 ++- README.md | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/code_review.yml b/.github/workflows/code_review.yml index 3edcf77..02b15e4 100644 --- a/.github/workflows/code_review.yml +++ b/.github/workflows/code_review.yml @@ -12,9 +12,10 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 - name: Code Review - uses: freeedcom/ai-codereviewer@main + uses: hohyon-ryu/ai-codereviewer@main with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} OPENAI_API_MODEL: "gpt-4-1106-preview" exclude: "yarn.lock,dist/**" + language: "Korean" diff --git a/README.md b/README.md index 566a3ea..aa454a5 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,7 @@ jobs: OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} OPENAI_API_MODEL: "gpt-4" # Optional: defaults to "gpt-4" exclude: "**/*.json, **/*.md" # Optional: exclude patterns separated by commas + language: "english" # Optional: defaults to "english" ``` 4. Replace `your-username` with your GitHub username or organization name where the AI Code Reviewer repository is