Files
edict/.github/labeler.yml
cft0808 dc66e0666d chore: add community governance infrastructure
- CODEOWNERS: define code ownership for core paths (@cft0808)
- CODE_OF_CONDUCT.md: Contributor Covenant v2.1 (Chinese)
- SECURITY.md: vulnerability reporting policy
- CONTRIBUTING.md: add contributor ladder (Contributor→Triage→Committer→Maintainer)
- dependabot.yml: auto dependency updates (pip/npm/actions weekly)
- auto-label.yml + labeler.yml: PR auto-labeling by file path
- stale.yml: auto-close stale Issues (60d) and PRs (30d)
- Issue templates: add question.md, config.yml, needs-triage label
- Branch protection: require PR reviews, CI checks, code owner approval
2026-03-28 20:55:54 +08:00

45 lines
839 B
YAML

# PR 路径 → 自动标签映射
# 配合 .github/workflows/auto-label.yml 使用
dashboard:
- changed-files:
- any-glob-to-any-file: 'dashboard/**'
agents:
- changed-files:
- any-glob-to-any-file: 'agents/**'
edict-backend:
- changed-files:
- any-glob-to-any-file: 'edict/backend/**'
edict-frontend:
- changed-files:
- any-glob-to-any-file: 'edict/frontend/**'
scripts:
- changed-files:
- any-glob-to-any-file: 'scripts/**'
docker:
- changed-files:
- any-glob-to-any-file:
- 'Dockerfile'
- 'docker-compose.yml'
- 'docker/**'
ci:
- changed-files:
- any-glob-to-any-file: '.github/**'
documentation:
- changed-files:
- any-glob-to-any-file:
- 'docs/**'
- '*.md'
- '!CHANGELOG.md'
tests:
- changed-files:
- any-glob-to-any-file: 'tests/**'