From 653dbc0dc9675bce92de91e5677015a2b98c867a Mon Sep 17 00:00:00 2001 From: james Date: Mon, 28 Jul 2025 00:28:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20.gitea/workflows/test.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/test.yml | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index 73c44fe..6cb4f0e 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -9,7 +9,7 @@ env: jobs: test: runs-on: phpunit_test - container: mirror.ccs.tencentyun.com/xeden3/ai-code-reviewer-gitea-runner:v1.4 + container: mirror.ccs.tencentyun.com/xeden3/ai-code-reviewer-gitea-runner:v1.4.1 steps: - name: Checkout code uses: http://119.91.43.128:3003/james/checkout@v4 @@ -70,20 +70,5 @@ jobs: - 🔍 表示需要仔细检查 run: | - PR_NUMBER=$PULLS_ID - OWNER="hui" - REPO="SCTMES_V5" - SERVER_URL="http://119.91.43.128:3003" - - COMMENT="🧪 单元测试已完成。\n- 状态: 成YYYYY功 ✅\n- Commit ID: $(git rev-parse HEAD)\n- 查看日志: [Actions](https://your-ci-link-here)" - - API_URL="$SERVER_URL/api/v1/repos/$OWNER/$REPO/issues/$PR_NUMBER/comments" - - curl -X POST \ - -H "Authorization: token $GITEA_TOKEN" \ - -H "Content-Type: application/json" \ - -d "{\"body\": \"$COMMENT\"}" \ - "$API_URL" - cd /workspace ./audit_code.sh \ No newline at end of file