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