From da568e80e0c155952f9eba90e8bf46e490bc5e0a Mon Sep 17 00:00:00 2001 From: Sam Maosa Date: Sun, 14 Jun 2026 00:33:29 +0300 Subject: [PATCH] Add PR template with linked issue keywords for auto-close. Document Closes/Fixes/Resolves in CONTRIBUTING so merged PRs close their issues automatically. Co-authored-by: Cursor --- .github/CONTRIBUTING.md | 1 + .github/pull_request_template.md | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 .github/pull_request_template.md diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index b0ee5d8..6b01ca5 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -35,6 +35,7 @@ Before submitting a pull request: - Check the codebase to ensure that your feature doesn't already exist. - Check the pull requests to ensure that another person hasn't already submitted the feature or fix. +- Link resolved issues in the PR body using [GitHub keywords](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue) (`Closes #123`, `Fixes #123`, or `Resolves #123`) so they auto-close on merge. ## Requirements diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..3ac0c0a --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,13 @@ +## Summary + + + +## Linked issues + + + +Closes # + +## Test plan + +- [ ]