gitlink-cli/examples/workflows/pr-quality-gatekeeper/config.example.yaml

20 lines
1.1 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.

# config.example.yaml — PR 看门人闭环的工作流配置gatekeeper_workflow.py --config 用)
#
# 命令行参数(--owner/--repo/--pr/--policy/--owner-rules/--findings会覆盖这里的同名字段。
# 相对路径以本配置文件所在目录为基准解析。
owner: Gitlink # 目标仓库 ownerGitLink 主分支为 master
repo: gitlink-cli # 目标仓库名
pr: 1 # 目标 PR 编号(用 --pr 覆盖以复用同一配置跑不同 PR
# 策略文件Policy-as-Code。缺省 / 文件不存在时回退脚本内置默认策略SSOT 第 2 节)。
policy: ../skills/gitlink-gatekeeper/examples/gatekeeper.yaml
# 文件路径 → reviewer 路由表(工作流步骤 1
owner_rules: owner-rules.yaml
# 可选AI 审查发现 JSON注入 review_findings 维度)。
# 缺省为空 → 评分仍确定性可复现(同策略 + 同 PR 上下文 → 同裁决)。
# 这里默认指向随附的示例1 major + 2 minor开箱即可跑通用 --findings 覆盖为你自己的产物。
findings: findings.sample.json