Merge pull request '更新 .gitea/workflows/test.yml' (#33) from james-patch-21 into main
Reviewed-on: #33
This commit is contained in:
commit
3622c20df2
@ -24,9 +24,15 @@ jobs:
|
|||||||
|
|
||||||
- name: Run code review script
|
- name: Run code review script
|
||||||
env:
|
env:
|
||||||
|
# === 项目配置 ===
|
||||||
GIT_PROJECT_PATH: /workspace/hui/SCTMES_V5 # Gitea 的工作目录
|
GIT_PROJECT_PATH: /workspace/hui/SCTMES_V5 # Gitea 的工作目录
|
||||||
ALLOWED_PATHS: '["EdgeManager/**", "mes_in_sct/**", "mes_in_task/**", "webman/**"]' # 允许检测目录
|
ALLOWED_PATHS: '["EdgeManager/**", "mes_in_sct/**", "mes_in_task/**", "webman/**"]' # 允许检测目录
|
||||||
IGNORED_PATHS: '["EdgeManager/vendor/**", "mes_in_sct/vendor/**", "mes_in_task/vendor/**", "webman/public/**", "webman/runtime/**", "webman/vendor/**"]' # 忽略检测目录
|
IGNORED_PATHS: '["EdgeManager/vendor/**", "mes_in_sct/vendor/**", "mes_in_task/vendor/**", "webman/public/**", "webman/runtime/**", "webman/vendor/**"]' # 忽略检测目录
|
||||||
|
|
||||||
|
# === Gitea API 配置(传给 audit_code.sh)===
|
||||||
|
API_URL: "http://119.91.43.128:3003/api/v1/repos/hui/SCTMES_V5/issues/$PULLS_ID/comments"
|
||||||
|
GITEA_TOKEN: $GITEA_TOKEN
|
||||||
|
|
||||||
SYSTEM_PROMPT: |
|
SYSTEM_PROMPT: |
|
||||||
你是代码审核助手,我需要你审核代码后以JSON形式输出通过(passed)或者不通过(no-passed),只输出json不添加其他说明。
|
你是代码审核助手,我需要你审核代码后以JSON形式输出通过(passed)或者不通过(no-passed),只输出json不添加其他说明。
|
||||||
只判断代码是否存在变量拼写错误,并且在issues输出行数、出错语句及原因;
|
只判断代码是否存在变量拼写错误,并且在issues输出行数、出错语句及原因;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user