Skip to content

Commit e035839

Browse files
P-E-Pdkm
authored andcommitted
Change bug report issue template
ChangeLog: * .github/ISSUE_TEMPLATE/bug_report.yml: New file. * .github/ISSUE_TEMPLATE/bug_report.md: Deleted old template. Signed-off-by: Pierre-Emmanuel Patry <[email protected]>
1 parent e049dfe commit e035839

File tree

2 files changed

+64
-25
lines changed

2 files changed

+64
-25
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 25 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
name: Bug Report
2+
description: Create a bug report
3+
body:
4+
- type: markdown
5+
attributes:
6+
value: Thank you for filing a bug report! 🐛
7+
- type: textarea
8+
id: problem
9+
attributes:
10+
label: Summary
11+
description: >
12+
Please provide a short summary of the bug, along with any information
13+
you feel relevant to replicate the bug.
14+
validations:
15+
required: true
16+
- type: textarea
17+
id: reproducer
18+
attributes:
19+
label: Reproducer
20+
description: Please provide the code and steps to reproduce the bug
21+
value: |
22+
I tried this code:
23+
24+
```rust
25+
<code>
26+
```
27+
- type: checkboxes
28+
id: nightly-features
29+
attributes:
30+
label: Does the code make use of any (1.49) nightly feature ?
31+
options:
32+
- label: Nightly
33+
- type: input
34+
id: godbolt
35+
attributes:
36+
label: Godbolt link
37+
description: Optional link to godbolt snippet
38+
placeholder: |
39+
https://godbolt.org/z/vnK433Wox
40+
- type: textarea
41+
id: obtained
42+
attributes:
43+
label: Actual behavior
44+
description: Please describe the actual behavior
45+
value: |
46+
The current behavior is...
47+
validations:
48+
required: true
49+
- type: textarea
50+
id: expected
51+
attributes:
52+
label: Expected behavior
53+
description: Please describe the expected behavior
54+
value: |
55+
I expected to see...
56+
- type: input
57+
id: version
58+
attributes:
59+
label: GCC Version
60+
description: "GCC version (`gcc --version`) or commit SHA"
61+
placeholder: |
62+
commit-hash: c4fecaf3c4fec4f3caf3c4fec4f3cafec4fecaf3
63+
validations:
64+
required: true

0 commit comments

Comments
 (0)