Skip to content

Commit eb29a16

Browse files
chinmoy12ctargos
authored andcommitted
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: #36338 PR-URL: #36440 Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent f09985d commit eb29a16

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/PULL_REQUEST_TEMPLATE.md

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ Bug fixes and new features should include tests and possibly benchmarks.
77
Contributors guide: https://github.com/nodejs/node/blob/master/CONTRIBUTING.md
88
-->
99

10+
#### Related Issues
11+
12+
Fixes: https://github.com/nodejs/node/issues/<issue_number>
13+
1014
##### Checklist
1115
<!-- Remove items that do not apply. For completed items, change [ ] to [x]. -->
1216

doc/guides/contributing/pull-requests.md

+4
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,10 @@ Bug fixes and new features should include tests and possibly benchmarks.
281281
Contributors guide: https://github.com/nodejs/node/blob/master/CONTRIBUTING.md
282282
-->
283283

284+
#### Related Issues
285+
286+
Fixes: https://github.com/nodejs/node/issues/<issue_number>
287+
284288
#### Checklist
285289
<!-- Remove items that do not apply. For completed items, change [ ] to [x]. -->
286290

0 commit comments

Comments
 (0)