Compare commits

..

4 Commits

Author SHA1 Message Date
c7eee5aab3 Merge pull request '更新 .gitea/workflows/test.yml' (#18) from james-patch-10 into main
Some checks failed
Run Unit Tests / test (push) Has been cancelled
Reviewed-on: #18
2025-06-19 10:42:48 +08:00
1467b268c2 更新 .gitea/workflows/test.yml 2025-06-19 10:41:35 +08:00
be1b8723ee Merge pull request '更新 .gitea/workflows/test.yml' (#17) from james-patch-101 into main
Some checks failed
Run Unit Tests / test (push) Has been cancelled
Reviewed-on: #17
2025-06-19 10:40:47 +08:00
cb143f753e 更新 .gitea/workflows/test.yml 2025-06-19 10:39:59 +08:00
2 changed files with 4 additions and 3 deletions

View File

@ -8,6 +8,8 @@ on:
pull_request:
branches:
- main
paths-ignore:
- '.gitea/**'
jobs:
test:
@ -15,7 +17,7 @@ jobs:
container: docker.xuanyuan.me/xeden3/ai-code-reviewer-gitea-runner:v1.2
steps:
- name: Checkout code
- name: Checkout code2
uses: http://119.91.43.128:3003/james/checkout@v4
with:
fetch-depth: 2 # 至少获取最近两次提交

View File

@ -1,5 +1,5 @@
#!/usr/bin/env php
<?php
<?php
require_once __DIR__ . '/vendor/autoload.php';
// 使用 getopt 函数解析命令行参数
$options = getopt('h::', ['APP_ENV::', 'help::']);
@ -14,4 +14,3 @@ if (isset($options['APP_ENV'])) {
putenv('APP_ENV='.$options['APP_ENV']);
}
\libs\core\App::run();