From b3bad42f629ab7abb603128ced9c10ac082e82f0 Mon Sep 17 00:00:00 2001 From: beppeb Date: Tue, 26 Aug 2025 05:06:54 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20.gitea/workflows/code-revi?= =?UTF-8?q?ew.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/code-review.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/code-review.yml b/.gitea/workflows/code-review.yml index d736429..310c8ed 100644 --- a/.gitea/workflows/code-review.yml +++ b/.gitea/workflows/code-review.yml @@ -5,7 +5,7 @@ on: types: [created, edited] jobs: - review: + code-review: runs-on: ubuntu-latest if: github.event.issue.pull_request && (startsWith(github.event.comment.body, 'openai') || github.event.comment.body == 'openai') # env: @@ -13,7 +13,7 @@ jobs: # BASE: https://devstar.cn # GH_TOKEN: ${{ secrets.GH_TOKEN }} - # steps: + steps: # - name: Preflight - diff 接口可用性 # run: | # set -e @@ -42,7 +42,7 @@ jobs: # -H "Authorization: Bearer $OPENAI_TOKEN" \ # https://api.openai.com/v1/models | head -n 1 - name: OpenAI Code Review - uses: ingress-it-solutions/gitea-code-review-action@v0.1 + uses: sgxya/gitea-code-review-action@main # env: # # 可直连则删除本行;需代理则改成你的代理地址 # OPENAI_PROXY: https://aiyjg.lol