Compare commits

..

1 Commits

Author SHA1 Message Date
4c0ec0b87f 更新 mes_in_sct/start.php
Some checks failed
Run Unit Tests / test (pull_request) Failing after 26s
2025-07-28 00:02:39 +08:00
2 changed files with 18 additions and 1 deletions

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.1
container: mirror.ccs.tencentyun.com/xeden3/ai-code-reviewer-gitea-runner:v1.4
steps:
- name: Checkout code
uses: http://119.91.43.128:3003/james/checkout@v4
@ -70,5 +70,20 @@ 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

View File

@ -13,4 +13,6 @@ if (isset($options['h']) || isset($options['help'])) {
if (isset($options['APP_ENV'])) {
putenv('APP_ENV='.$options['APP_ENV']);
}
\libs\core\App::run();