From af5c5bc93617d63237dc138d6237b597fae9f771 Mon Sep 17 00:00:00 2001 From: anpigon Date: Fri, 19 Jul 2024 09:36:23 +0900 Subject: [PATCH] chore: update ChatGPT-CodeReview to use gpt-4o-mini model --- .../workflows/code_review_from_chatgpt.yml | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/code_review_from_chatgpt.yml b/.github/workflows/code_review_from_chatgpt.yml index 4f42d57..12ba861 100644 --- a/.github/workflows/code_review_from_chatgpt.yml +++ b/.github/workflows/code_review_from_chatgpt.yml @@ -1,17 +1,17 @@ name: Code Review From ChatGPT permissions: - contents: read - pull-requests: write + contents: read + pull-requests: write on: - pull_request: - types: [opened, synchronize] + 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-4o + 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-4o-mini