From 8b3577910c6cc22c84293c2a024a1e61b8ba5bb6 Mon Sep 17 00:00:00 2001 From: Chahak Mehta <201501422@daiict.ac.in> Date: Thu, 20 Apr 2023 14:44:14 -0500 Subject: [PATCH 1/2] Update PULL_REQUEST_TEMPLATE.md to include issue cross-reference. This changes the PR template to prompt/remind the user to link the issue it resolves. This is to make sure that it reduces duplicate PRs, as having a back link would make it easier to know that there's work being done on a particular issue. --- .github/PULL_REQUEST_TEMPLATE.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index c081b03fdfc6..1d6bbd800898 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -3,6 +3,8 @@ ## PR Checklist +**Linked Issue** +- [ ] Mentioned issue that it closes using a phrase like "closes #123" to link it back to the issue. **Documentation and Tests** - [ ] Has pytest style unit tests (and `pytest` passes) From 74f9041de0d696dea0a1a61db02a954b744ddd7e Mon Sep 17 00:00:00 2001 From: Chahak Mehta <201501422@daiict.ac.in> Date: Thu, 20 Apr 2023 19:19:32 -0500 Subject: [PATCH 2/2] Reword message to link issue. --- .github/PULL_REQUEST_TEMPLATE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 1d6bbd800898..699bc75fb319 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -4,7 +4,7 @@ **Linked Issue** -- [ ] Mentioned issue that it closes using a phrase like "closes #123" to link it back to the issue. +- [ ] Added "closes #0000" in the PR description to link it to the original issue. **Documentation and Tests** - [ ] Has pytest style unit tests (and `pytest` passes)