Files
AI-Check-Test/.gitea/workflows/code-check-config.yaml
dongzi c8840e2af0
All checks were successful
CodeChecker 变更检测 / code-check (push) Successful in 23s
PunishmentsApprovalDto-新增参数测试
2026-06-09 15:41:36 +08:00

54 lines
1.6 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 类字段变更后,继续检测受影响 Controller 的 API 参数变更
dto_api_follow_up:
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
# Dto 类变更与 API 参数变更重叠时的通知策略both | class_only | api_only
dto_overlap_mode: both