chore(issues): make bug_report an issue form

This commit is contained in:
Thomas Vigouroux
2021-08-16 13:54:02 +02:00
parent 9db0c346b8
commit 7241ddaff4
2 changed files with 60 additions and 57 deletions

View File

@@ -1,57 +0,0 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''
---
<!--
Before reporting please do :
Update your neovim version to latest _master_.
Update your plugin to latest version.
Run `TSUpdate`.
//-->
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Output of `:checkhealth nvim_treesitter`**
<details>
<code>
Paste the output here
</code>
</details>
**Output of `nvim --version`**
<details>
<code>
Paste the output here
</code>
</details>
**Additional context**
Add any other context about the problem here.

60
.github/ISSUE_TEMPLATE/bug_report.yml vendored Normal file
View File

@@ -0,0 +1,60 @@
name: Bug report
description: Create a report to help us improve
labels: [ bug ]
body:
- type: checkboxes
attributes:
label: Before reporting
description: Please do the following steps before reporting an issue.
options:
- label: I have updated my neovim version to latest _master_
required: true
- label: I have updated my plugin to the latest version
required: true
- label: I have run `:TSUpdate`
required: true
- type: textarea
attributes:
label: Describe the bug
description: A clear and concise description of what the bug is.
validations:
required: true
- type: textarea
attributes:
label: To Reproduce
description: Steps to reproduce the behavior.
placeholder: |
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
validations:
required: true
- type: textarea
attributes:
label: Expected behavior
description: A clear and concise description of what you expected to happen.
- type: textarea
attributes:
label: Output of `:checkhealth nvim_treesitter`
render: markdown
validations:
required: true
- type: textarea
attributes:
label: Output of `nvim --version`
render: text
validations:
required: true
- type: textarea
attributes:
label: Additional context
description: Add any context about the problem here.