From 263031517fdae33005d73bdba2b4095267004626 Mon Sep 17 00:00:00 2001 From: UVCLimHun Date: Thu, 17 Apr 2025 11:21:19 +0900 Subject: [PATCH] codereviewchange --- .github/workflows/code-review.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/code-review.yml b/.github/workflows/code-review.yml index 3697087..fbb6200 100644 --- a/.github/workflows/code-review.yml +++ b/.github/workflows/code-review.yml @@ -9,12 +9,20 @@ jobs: runs-on: self_hosted steps: - - uses: actions/checkout@v3 + - name: Checkout PR branch + uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - name: Setup Node.js + uses: actions/setup-node@v3 with: node-version: 18 - - run: chatgpt-code-review + - name: Install dependencies + run: | + cd ChatGPT-CodeReview + npm install + + - name: Run ChatGPT Code Review + run: npx ./ChatGPT-CodeReview/bin/index.js env: OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} \ No newline at end of file