← 官方规则来源
GitHub Config · 官方规则原文
OpenCodeReview v1.13.8 · 4236c871 · Apache-2.0。保留固定版本英文原文;item 编号表示原文件中的检查项顺序。实际扫描以当前规则开关和扫描快照为准。
查看当前规则与开关 → · 下载原始 Markdown
版本与文件信息
提交:4236c871fe8130aa840a2a1c0922f469e87e0416
源码路径:internal/config/rules/rule_docs/github_config.md
SHA-256:64af359e7fcb8a0bdba88738e5429836d5efddc89851b042c9114985e7d22b95
Apache-2.0 许可证 ·
基线说明Issue Template Validation
- Missing required fields: Issue templates should have
name, description, and body fields - Invalid input types: Verify
type values in body inputs are valid (dropdown, input, textarea, checkboxes, markdown) - Empty options in dropdowns: Dropdown type inputs must have non-empty
options list - Missing
id on inputs: Form inputs without id cannot be parsed programmatically
Release Configuration
- Undefined category labels: Labels referenced in
categories[].labels should exist in the repository (note: this is a warning, as labels may be created separately) - Missing default category: A
release.yml without a catch-all category (using *) may omit some PRs from release notes
General Structure
- YAML syntax correctness: Indentation consistency, proper quoting of special characters, valid anchors/aliases usage
- Spelling errors in YAML keys: Check for typos in configuration keys that would be silently ignored