Skip to content

Commit 8b62fc8

Browse files
committed
Add issue templates
1 parent d019f7f commit 8b62fc8

File tree

5 files changed

+54
-16
lines changed

5 files changed

+54
-16
lines changed

.github/ISSUE_TEMPLATE.md

-16
This file was deleted.

.github/ISSUE_TEMPLATE/bug-report.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Bug report
2+
description: File a bug report
3+
body:
4+
- type: input
5+
id: version
6+
attributes:
7+
label: "Version of Hardhat"
8+
description: "Run `npx hardhat --version` to get the version of Hardhat that you are using"
9+
placeholder: "1.2.3"
10+
validations:
11+
required: true
12+
- type: textarea
13+
id: what-happened
14+
attributes:
15+
label: "What happened?"
16+
description: "A brief description of what happened and what you expected to happen"
17+
validations:
18+
required: true
19+
- type: textarea
20+
id: reproduction-steps
21+
attributes:
22+
label: "Minimal reproduction steps"
23+
description: "Tell us the minimal steps needed to reproduce the bug"
24+
validations:
25+
required: true
26+
- type: input
27+
id: search-terms
28+
attributes:
29+
label: "Search terms"
30+
description: "Include the search terms you used before opening this issue. This will make it easier for others to find it."

.github/ISSUE_TEMPLATE/config.yml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Do you need help?
4+
url: https://hardhat.org/hardhat-runner/docs/guides/getting-help
5+
about: Check our guide on how to get help with Hardhat
+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Feature request
2+
description: Suggest a new feature
3+
body:
4+
- type: textarea
5+
id: feature-description
6+
attributes:
7+
label: "Describe the feature"
8+
description: "A description of what you would like us to add to Hardhat and your use case for it"
9+
validations:
10+
required: true
11+
- type: input
12+
id: search-terms
13+
attributes:
14+
label: "Search terms"
15+
description: "Include the search terms you used before opening this issue. This will make it easier for others to find it."

.github/ISSUE_TEMPLATE/other-issue.md

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
name: Other issue
3+
about: Other kind of issue. Please don't use this to ask questions.
4+
---

0 commit comments

Comments
 (0)