From 4d6b0250956d95ceaf00ce13cabff42fffa54c8f Mon Sep 17 00:00:00 2001 From: UVCLimHun Date: Thu, 17 Apr 2025 16:28:52 +0900 Subject: [PATCH] Update code-review.yml --- .github/workflows/code-review.yml | 29 +++++++++++++---------------- 1 file changed, 13 insertions(+), 16 deletions(-) diff --git a/.github/workflows/code-review.yml b/.github/workflows/code-review.yml index 43b563c..71ba23e 100644 --- a/.github/workflows/code-review.yml +++ b/.github/workflows/code-review.yml @@ -2,20 +2,17 @@ name: Code Review on: issue_comment: types: [created, edited] - pull_request: - types: [opened, reopened, synchronize] - jobs: - code-review: - runs-on: self_hosted - steps: - - name: Gitea Code Review - uses: ingress-it-solutions/gitea-code-review-action@v1.13 - with: - PROGRAMMING_LANGUAGE: 'c#' - OPENAI_TOKEN: ${{ secrets.OPENAI_TOKEN }} - GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} - GITHUB_BASE_URL: 'http://220.90.135.190:3000' - FULL_REVIEW_COMMENT: 'openai' - REVIEW_COMMENT_PREFIX: 'openai:' - SOURCE_AT: 'gitea' \ No newline at end of file +jobs: + code-review: + runs-on: self_hosted + steps: + - name: OpenAI Code Review + uses: ingress-it-solutions/gitea-code-review-action@v1.13 + with: + PROGRAMMING_LANGUAGE: 'c#' + OPENAI_TOKEN: ${{ secrets.OPENAI_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} + FULL_REVIEW_COMMENT: 'openai' + REVIEW_COMMENT_PREFIX: 'openai:' + SOURCE_AT:'gitea' \ No newline at end of file