diff options
author | Rich Trott <rtrott@gmail.com> | 2022-01-05 02:05:34 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-05 10:05:34 +0000 |
commit | 78b3af99b3e46abe6142a37614c441e932008f05 (patch) | |
tree | 4e09c5087645f82d1e4e9434fc363bb27b216dc7 /.github/ISSUE_TEMPLATE | |
parent | 090cdb66c04214fab1cdd092bb0ad8ac7ebd0499 (diff) | |
download | node-new-78b3af99b3e46abe6142a37614c441e932008f05.tar.gz |
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: https://github.com/nodejs/node/pull/41378
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to '.github/ISSUE_TEMPLATE')
-rw-r--r-- | .github/ISSUE_TEMPLATE/1-bug-report.yml | 2 | ||||
-rw-r--r-- | .github/ISSUE_TEMPLATE/2-feature-request.yml | 4 | ||||
-rw-r--r-- | .github/ISSUE_TEMPLATE/3-api-ref-docs-problem.yml | 5 | ||||
-rw-r--r-- | .github/ISSUE_TEMPLATE/4-report-a-flaky-test.yml | 1 |
4 files changed, 9 insertions, 3 deletions
diff --git a/.github/ISSUE_TEMPLATE/1-bug-report.yml b/.github/ISSUE_TEMPLATE/1-bug-report.yml index 76a76dbf77..07a8f075ee 100644 --- a/.github/ISSUE_TEMPLATE/1-bug-report.yml +++ b/.github/ISSUE_TEMPLATE/1-bug-report.yml @@ -39,6 +39,8 @@ body: attributes: label: What do you see instead? description: If possible please provide textual output instead of screenshots. + validations: + required: true - type: textarea attributes: label: Additional information diff --git a/.github/ISSUE_TEMPLATE/2-feature-request.yml b/.github/ISSUE_TEMPLATE/2-feature-request.yml index 8610f1db06..1c5c2fda14 100644 --- a/.github/ISSUE_TEMPLATE/2-feature-request.yml +++ b/.github/ISSUE_TEMPLATE/2-feature-request.yml @@ -11,9 +11,13 @@ body: - type: textarea attributes: label: What is the problem this feature will solve? + validations: + required: true - type: textarea attributes: label: What is the feature you are proposing to solve the problem? + validations: + required: true - type: textarea attributes: label: What alternatives have you considered? diff --git a/.github/ISSUE_TEMPLATE/3-api-ref-docs-problem.yml b/.github/ISSUE_TEMPLATE/3-api-ref-docs-problem.yml index 8963b6b89c..9b3bdc3519 100644 --- a/.github/ISSUE_TEMPLATE/3-api-ref-docs-problem.yml +++ b/.github/ISSUE_TEMPLATE/3-api-ref-docs-problem.yml @@ -1,7 +1,6 @@ name: "\U0001F4D7 Open an issue regarding the Node.js API reference docs" description: Let us know about any problematic API reference documents labels: ["doc"] -title: 'doc: <title>' body: - type: markdown attributes: @@ -14,4 +13,6 @@ body: label: Affected URL(s) - type: textarea attributes: - label: Explanation of the problem + label: Description of the problem + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/4-report-a-flaky-test.yml b/.github/ISSUE_TEMPLATE/4-report-a-flaky-test.yml index 2ad659dec3..c557accfb1 100644 --- a/.github/ISSUE_TEMPLATE/4-report-a-flaky-test.yml +++ b/.github/ISSUE_TEMPLATE/4-report-a-flaky-test.yml @@ -1,6 +1,5 @@ name: Report a flaky test description: Report a flaky test in our CI -title: "Investigate flaky test - " labels: ["flaky-test"] body: - type: markdown |