Files
AI-Check-Test/.gitea/workflows/code-check-config.yaml
dongzi 8f19bb817e
All checks were successful
CodeChecker 变更检测 / code-check (push) Successful in 19s
接口参数变更测试 接收字段名变更
2026-06-09 13:43:49 +08:00

49 lines
1.3 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# ============================================================
# 变更检测配置
# 由 CI 流水线加载jar 位于 .gitea/workflows/code-checker.jar
# 修改后 push 即可生效,无需重新打包 jar除非改动了 Java 源码)
# ============================================================
# 总开关false 时跳过 class_check + api_check流水线直接退出
checker:
enabled: true
# 类变更检测Vo/Dto/Entity/Model 字段增删改等)
class_check:
enabled: true
dto_entity_conversion:
enabled: false
model_dirs:
- jnpf-ftb/jnpf-ftb-entity/src/main/java
# 接口索引扫描目录,用于分析类变更对 API 的影响范围
endpoint_scan:
controllers:
- jnpf-ftb/jnpf-ftb-biz/src/main/java
feign_apis:
- jnpf-ftb/jnpf-ftb-api/src/main/java
conversion_scan:
- jnpf-ftb/jnpf-ftb-biz/src/main/java
# API 变更检测(路径 / 请求方式 / 参数),与 class_check 同级
api_check:
enabled: true
exclude_framework_params: true
endpoint_scan:
controllers:
- jnpf-ftb/jnpf-ftb-biz/src/main/java
feign_apis:
- jnpf-ftb/jnpf-ftb-api/src/main/java
# 企业微信通知开关
wecom:
enabled: true
webhook_url: "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=61f08cc9-b734-4dff-a931-7f33654c0a81"
notify:
only_on_change: true