Skip to content

Commit

Permalink
chore: use GitHub forms for new issues (#4425)
Browse files Browse the repository at this point in the history
* chore: use GitHub forms for new issues

* chore: fix requiredness
  • Loading branch information
ehmicky authored Mar 4, 2022
1 parent 250d71f commit 71d6144
Show file tree
Hide file tree
Showing 4 changed files with 70 additions and 71 deletions.
41 changes: 0 additions & 41 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

41 changes: 41 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Bug report
description: Create a report to help us improve
title: Please replace with a clear and descriptive title
labels: ['type: bug']
body:
- type: markdown
attributes:
value: Thanks for reporting this bug!
- type: textarea
attributes:
label: Describe the bug
placeholder: A clear and concise description of what the bug is.
validations:
required: true
- type: textarea
attributes:
label: Steps to reproduce
placeholder: |
Step-by-step instructions on how to reproduce the behavior.
Example:
1. Run `git clone git@github.com:owner/repo-with-cli-bug.git`
2. Navigate to the cloned repository
3. Run `netlify dev`
4. See that the CLI exits with an error
validations:
required: true
- type: textarea
attributes:
label: Configuration
placeholder: If possible, please copy/paste below your `netlify.toml`.
- type: textarea
attributes:
label: Environment
description: |
Enter the following command in a terminal and copy/paste its output:
```bash
npx envinfo --system --binaries --npmPackages netlify-cli --npmGlobalPackages netlify-cli
```
validations:
required: true
30 changes: 0 additions & 30 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

29 changes: 29 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Feature request
description: Suggest an idea for this project
title: Please replace with a clear and descriptive title
labels: ['type: feature']
body:
- type: markdown
attributes:
value: Thanks for suggesting a new feature!
- type: textarea
attributes:
label: Which problem is this feature request solving?
placeholder: I'm always frustrated when [...]
validations:
required: true
- type: textarea
attributes:
label: Describe the solution you'd like
placeholder: This could be fixed by [...]
validations:
required: true
- type: checkboxes
attributes:
label: Pull request (optional)
description:
Pull requests are welcome! If you would like to help us fix this bug, please check our [contributions
guidelines](../blob/main/CONTRIBUTING.md).
options:
- label: I can submit a pull request.
required: false

0 comments on commit 71d6144

Please sign in to comment.