Compare commits

...

2 Commits

Author SHA1 Message Date
360888887f Merge pull request '更新 .gitea/workflows/test.yml' (#41) from james-patch-28 into main
Reviewed-on: #41
2025-07-28 00:28:37 +08:00
653dbc0dc9 更新 .gitea/workflows/test.yml
All checks were successful
Run Unit Tests / test (pull_request) Successful in 16s
2025-07-28 00:28:05 +08:00

View File

@ -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