From aa3bee4862456452cfb3c1a1af8601844d3f78e5 Mon Sep 17 00:00:00 2001 From: Himanshu Shekhar <102209297+BFRS01757@users.noreply.github.com> Date: Tue, 5 Nov 2024 11:36:26 +0530 Subject: [PATCH] Create crgpt.yml --- .github/workflows/crgpt.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/crgpt.yml diff --git a/.github/workflows/crgpt.yml b/.github/workflows/crgpt.yml new file mode 100644 index 00000000..476e05eb --- /dev/null +++ b/.github/workflows/crgpt.yml @@ -0,0 +1,20 @@ +name: Code Review GPT + +on: + pull_request: + branches: [main] + +jobs: + run_code_review: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: Code Review GPT + uses: BFRS01757/code-review-gpt@main + with: + OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} + MODEL: 'gpt-4o' + GITHUB_TOKEN: ${{ github.token }}