Skip to content

Commit f60570b

Browse files
committed
Add issue templates
1 parent eb19f0d commit f60570b

File tree

3 files changed

+42
-0
lines changed

3 files changed

+42
-0
lines changed

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: "Bug report 🐛"
2+
description: "If something isn't working as expected 🤔."
3+
title: "[Bug]: "
4+
labels: ["bug", "triage"]
5+
6+
body:
7+
- type: "textarea"
8+
attributes:
9+
label: "Summary"
10+
description: "Please describe your problem here"
11+
validations:
12+
required: true
13+
14+
- type: "textarea"
15+
attributes:
16+
label: "Code snippet that reproduces the problem"
17+
description: |
18+
Please provide a minimal code snippet that reproduces the problem. If you have a larger code example,
19+
please provide a link to a repository or create a pull request that introduces a failing test case.
20+
21+
- type: "textarea"
22+
attributes:
23+
label: "Expected output"
24+
description: "What did you expect to happen?"
25+
validations:
26+
required: true

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: "Support Question"
4+
url: "https://github.com/orgs/phpDocumentor/discussions"
5+
about: "We use GitHub issues only to discuss about bugs and new features. For this kind of questions about using the project, please use the discussions."

.github/ISSUE_TEMPLATE/feature.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: "Feature request 🚀"
2+
description: "I have a suggestion (and may want to implement it 🙂)!"
3+
labels: ["feature", "triage"]
4+
5+
body:
6+
- type: "textarea"
7+
attributes:
8+
label: "Feature request"
9+
description: "Please provide a clear description of what problem you are trying to solve and how would you want it to be solved."
10+
validations:
11+
required: true

0 commit comments

Comments
 (0)