Skip to content

Commit 0f9afa5

Browse files
Trotttargos
authored andcommittedJan 14, 2022
meta: add required fields in issue templates
Make sure there is at least one required field in each issue template. Leave the title blank to enforce that as a required field as well. PR-URL: #41378 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 16c0bea commit 0f9afa5

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed
 

‎.github/ISSUE_TEMPLATE/1-bug-report.yml

+2
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ body:
3939
attributes:
4040
label: What do you see instead?
4141
description: If possible please provide textual output instead of screenshots.
42+
validations:
43+
required: true
4244
- type: textarea
4345
attributes:
4446
label: Additional information

‎.github/ISSUE_TEMPLATE/2-feature-request.yml

+4
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,13 @@ body:
1111
- type: textarea
1212
attributes:
1313
label: What is the problem this feature will solve?
14+
validations:
15+
required: true
1416
- type: textarea
1517
attributes:
1618
label: What is the feature you are proposing to solve the problem?
19+
validations:
20+
required: true
1721
- type: textarea
1822
attributes:
1923
label: What alternatives have you considered?

‎.github/ISSUE_TEMPLATE/3-api-ref-docs-problem.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: "\U0001F4D7 Open an issue regarding the Node.js API reference docs"
22
description: Let us know about any problematic API reference documents
33
labels: ["doc"]
4-
title: 'doc: <title>'
54
body:
65
- type: markdown
76
attributes:
@@ -14,4 +13,6 @@ body:
1413
label: Affected URL(s)
1514
- type: textarea
1615
attributes:
17-
label: Explanation of the problem
16+
label: Description of the problem
17+
validations:
18+
required: true

‎.github/ISSUE_TEMPLATE/4-report-a-flaky-test.yml

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
name: Report a flaky test
22
description: Report a flaky test in our CI
3-
title: "Investigate flaky test - "
43
labels: ["flaky-test"]
54
body:
65
- type: markdown

0 commit comments

Comments
 (0)
Please sign in to comment.