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>
This commit is contained in:
Rich Trott 2022-01-05 02:05:34 -08:00 committed by GitHub
parent 090cdb66c0
commit 78b3af99b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 3 deletions

View File

@ -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

View File

@ -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?

View File

@ -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

View File

@ -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