From cf9d476948131f0f48ba753621019e351651e3dc Mon Sep 17 00:00:00 2001 From: Chinmoy Chakraborty Date: Tue, 8 Dec 2020 16:37:51 +0530 Subject: [PATCH] doc: add issue reference to github pr template The PR template should include a Reference isssue (Fixes #issue_number) so the PR can be tracked back to the issue easily.For a beginner trying to read PRs to become comfortable with the codebase,it is really helpful if one can directly reach the issue the PR fixes. Fixes: https://github.com/nodejs/node/issues/36338 PR-URL: https://github.com/nodejs/node/pull/36440 Reviewed-By: James M Snell --- .github/PULL_REQUEST_TEMPLATE.md | 4 ++++ doc/guides/contributing/pull-requests.md | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 66efca5cd000e7..dd3a2964c85db9 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -7,6 +7,10 @@ Bug fixes and new features should include tests and possibly benchmarks. Contributors guide: https://github.com/nodejs/node/blob/master/CONTRIBUTING.md --> +#### Related Issues + +Fixes: https://github.com/nodejs/node/issues/ + ##### Checklist diff --git a/doc/guides/contributing/pull-requests.md b/doc/guides/contributing/pull-requests.md index c61ac5ff37d0a1..627ae2218a7b6d 100644 --- a/doc/guides/contributing/pull-requests.md +++ b/doc/guides/contributing/pull-requests.md @@ -281,6 +281,10 @@ Bug fixes and new features should include tests and possibly benchmarks. Contributors guide: https://github.com/nodejs/node/blob/master/CONTRIBUTING.md --> +#### Related Issues + +Fixes: https://github.com/nodejs/node/issues/ + #### Checklist