diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..7af617d --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,23 @@ +## Summary + + + +Fixes # + +## Validation + + + +## Checklist + +See [CONTRIBUTING.md](https://github.com/hivecommons/pluk/blob/main/CONTRIBUTING.md) for details. +Do not report security vulnerabilities in a public PR. Follow [SECURITY.md](https://github.com/hivecommons/pluk/blob/main/SECURITY.md) instead. + +- [ ] `npm test` passes locally (it builds first and, on Node 22+, enforces the coverage thresholds: lines 99, branches 96, functions 98) +- [ ] If the change is user-visible: a `changelog.d/-.md` fragment is included (category one of `added`, `changed`, `deprecated`, `removed`, `fixed`, `security`; body is a `- ` bullet list) +- [ ] If CLI behavior or flags changed: README examples are updated +- [ ] If a pattern set changed: `patterns/.patterns` and its inline constant in `src/patterns.ts` are identical +- [ ] If a CLI was added: every file in CONTRIBUTING's "Adding a new CLI" table is updated +- [ ] Generated `dist/` output is not committed +- [ ] Behavior changes include tests +- [ ] Commits are signed off (`git commit -s`)