From 5a4de470cec56c312adcb22088849b609c3751cd Mon Sep 17 00:00:00 2001 From: UVCLimHun Date: Thu, 17 Apr 2025 16:08:04 +0900 Subject: [PATCH] Update code-review.yml --- .github/workflows/code-review.yml | 28 ++++++++-------------------- 1 file changed, 8 insertions(+), 20 deletions(-) diff --git a/.github/workflows/code-review.yml b/.github/workflows/code-review.yml index d87f11b..6d19388 100644 --- a/.github/workflows/code-review.yml +++ b/.github/workflows/code-review.yml @@ -1,20 +1,8 @@ -name: Code Review - -permissions: - contents: read - pull-requests: write - -on: - pull_request: - types: [opened, reopened, synchronize] - -jobs: - test: - runs-on: self_hosted - steps: - - uses: anc95/ChatGPT-CodeReview@v1.0.21 - env: - GITHUB_TOKEN: ${{ secrets.TOKEN }} - OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} - # optional - LANGUAGE: Korean \ No newline at end of file +name: Gitea Code Review +uses: ingress-it-solutions/gitea-code-review-action@v1.9 +with: + PROGRAMMING_LANGUAGE: 'c#' + REVIEW_COMMENT_PREFIX: 'openai:' + FULL_REVIEW_COMMENT: 'openai' + OPENAI_TOKEN: ${{ secrets.OPENAI_API_KEY }} + GITHUB_TOKEN: ${{ secrets.TOKEN }} \ No newline at end of file