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

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.