From 16ab6b5e596c1c43aff1accef790f879d44f28df Mon Sep 17 00:00:00 2001 From: UVCLimHun Date: Thu, 17 Apr 2025 16:18:42 +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 c2ef4d1..918fb4e 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,7 +13,7 @@ jobs: uses: ingress-it-solutions/gitea-code-review-action@v1.9 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:' \ No newline at end of file