Compare commits

..

No commits in common. "3622c20df225e33b3932947c29a461e3549b7e52" and "0e2da9efb8ce3f033d6442a6779cf3488553478c" have entirely different histories.

View File

@ -24,15 +24,9 @@ jobs:
- name: Run code review script
env:
# === 项目配置 ===
GIT_PROJECT_PATH: /workspace/hui/SCTMES_V5 # Gitea 的工作目录
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/**"]' # 忽略检测目录
# === 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: |
你是代码审核助手我需要你审核代码后以JSON形式输出通过(passed)或者不通过(no-passed)只输出json不添加其他说明。
只判断代码是否存在变量拼写错误并且在issues输出行数、出错语句及原因