docs(repo): add contributing guide and pr template

This commit is contained in:
Your Name
2026-05-06 11:14:01 +08:00
parent 5b3c38b3ed
commit c8759c1d2c
3 changed files with 94 additions and 0 deletions

32
.github/pull_request_template.md vendored Normal file
View File

@@ -0,0 +1,32 @@
## Summary
- What changed?
- Why was it needed?
## Scope
- In scope:
- Out of scope:
## Validation
- [ ] `go test ./... -count=1`
- [ ] `go test -race ./...`
- [ ] `go vet ./...`
- [ ] If relevant: `bash -n scripts/verify_preprod_gate_b.sh`
- [ ] If relevant: `bash -n scripts/verify_gate_c_rollback.sh`
## Risk
- What could regress?
- What areas need reviewer attention?
## Config / Docs Impact
- [ ] No config contract change
- [ ] Updated `docs/CONFIG_CONTRACT_BASELINE.md`
- [ ] Updated runbook / QA / plan docs if behavior changed
## Notes
- Related issues / design docs / rollout notes