From 4a59f842b48f8d569dc9833b8428395adc91048d Mon Sep 17 00:00:00 2001 From: UVCLimHun Date: Thu, 17 Apr 2025 16:36:52 +0900 Subject: [PATCH] Update code-review.yml --- .github/workflows/code-review.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/code-review.yml b/.github/workflows/code-review.yml index 533c935..6bfa5e0 100644 --- a/.github/workflows/code-review.yml +++ b/.github/workflows/code-review.yml @@ -2,6 +2,8 @@ name: Code Review on: issue_comment: types: [created, edited] + pull_request: + types: [opened, reopened, synchronize] jobs: code-review: @@ -11,8 +13,8 @@ jobs: uses: ingress-it-solutions/gitea-code-review-action@v1.13 with: PROGRAMMING_LANGUAGE: 'c#' - OPENAI_TOKEN: ${{ secrets.OPENAI_TOKEN }} - GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} + OPENAI_TOKEN: ${{ secrets.OPENAI_API_KEY }} + GITHUB_TOKEN: ${{ secrets.TOKEN }} FULL_REVIEW_COMMENT: 'openai' REVIEW_COMMENT_PREFIX: 'openai:' SOURCE_AT: 'gitea' \ No newline at end of file