Add PR template, issue templates, and contribution policy (#126)

* chore: add PR template, issue templates, and contribution policy

Drive-by feature PRs are becoming a problem. This adds guardrails:

- PR template with type selection, checklist, and AI disclosure
- Bug report issue template (structured YAML form)
- Issue config that redirects features to Discussions and disables blank issues
- PR compliance workflow that enforces template completion and requires
  a Discussion link for feature PRs
- Contribution policy in CONTRIBUTING.md (acceptance tiers, AI PR rules)
- Agent-facing rules in AGENTS.md (follow the template, no bulk changes)

* fornat
This commit is contained in:
Matt Kane
2026-04-02 21:02:10 +01:00
committed by GitHub
parent 953815969a
commit ed5df8e453
6 changed files with 214 additions and 1 deletions

8
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
View File

@@ -0,0 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: Feature request
url: https://github.com/emdash-cms/emdash/discussions/categories/ideas
about: Propose a feature in Discussions. Feature PRs without a prior approved Discussion will be closed.
- name: Question
url: https://github.com/emdash-cms/emdash/discussions/categories/q-a
about: Ask a question in Discussions.