Compare commits
1 Commits
main
...
james-patc
Author | SHA1 | Date | |
---|---|---|---|
86808c2342 |
@ -8,8 +8,6 @@ on:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
paths-ignore:
|
||||
- '.gitea/**'
|
||||
|
||||
jobs:
|
||||
test:
|
||||
@ -17,7 +15,7 @@ jobs:
|
||||
container: docker.xuanyuan.me/xeden3/ai-code-reviewer-gitea-runner:v1.2
|
||||
|
||||
steps:
|
||||
- name: Checkout code2
|
||||
- name: Checkout code
|
||||
uses: http://119.91.43.128:3003/james/checkout@v4
|
||||
with:
|
||||
fetch-depth: 2 # 至少获取最近两次提交
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
<?php
|
||||
require_once __DIR__ . '/vendor/autoload.php';
|
||||
// 使用 getopt 函数解析命令行参数
|
||||
$options = getopt('h::', ['APP_ENV::', 'help::']);
|
||||
@ -14,3 +14,4 @@ if (isset($options['APP_ENV'])) {
|
||||
putenv('APP_ENV='.$options['APP_ENV']);
|
||||
}
|
||||
\libs\core\App::run();
|
||||
|
Loading…
x
Reference in New Issue
Block a user