Skip to content

Commit 5fe8d75

Browse files
committed
Validate the mandatory items in GitHub issue forms
1 parent 99cf2ac commit 5fe8d75

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ body:
1414
description: >
1515
A clear and concise description of what the bug is,
1616
including what currently happens and what you expected to happen.
17+
validations:
18+
required: true
1719

1820
- type: textarea
1921
id: steps
@@ -24,6 +26,8 @@ body:
2426
1.
2527
2.
2628
3.
29+
validations:
30+
required: true
2731

2832
- type: textarea
2933
id: solutions
@@ -44,10 +48,14 @@ body:
4448
label: Rustup version
4549
description: Output of `rustup --version`
4650
render: console
51+
validations:
52+
required: true
4753

4854
- type: textarea
4955
id: toolchains
5056
attributes:
5157
label: Installed toolchains
5258
description: Output of `rustup show`
5359
render: console
60+
validations:
61+
required: true

.github/ISSUE_TEMPLATE/enhancement_request.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,17 @@ body:
1313
label: Problem you are trying to solve
1414
description: >
1515
A clear and concise description of the problem this enhancement request is trying to solve.
16+
validations:
17+
required: true
1618

1719
- type: textarea
1820
id: solution
1921
attributes:
2022
label: Solution you'd like
2123
description: >
2224
A clear and concise description of what you want to happen.
25+
validations:
26+
required: true
2327

2428
- type: textarea
2529
id: notes

.github/ISSUE_TEMPLATE/wsl_panic.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ body:
4242
description: >
4343
A clear and concise description of what the bug is,
4444
including what currently happens and what you expected to happen.
45+
validations:
46+
required: true
4547

4648
- type: textarea
4749
id: steps
@@ -52,6 +54,8 @@ body:
5254
1.
5355
2.
5456
3.
57+
validations:
58+
required: true
5559

5660
- type: textarea
5761
id: solutions
@@ -72,10 +76,14 @@ body:
7276
label: Rustup version
7377
description: Output of `rustup --version`
7478
render: console
79+
validations:
80+
required: true
7581

7682
- type: textarea
7783
id: toolchains
7884
attributes:
7985
label: Installed toolchains
8086
description: Output of `rustup show`
8187
render: console
88+
validations:
89+
required: true

0 commit comments

Comments
 (0)