Skip to content

Commit

Permalink
Add issue templates
Browse files Browse the repository at this point in the history
  • Loading branch information
jaapio committed Mar 1, 2024
1 parent eb19f0d commit f60570b
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: "Bug report 🐛"
description: "If something isn't working as expected 🤔."
title: "[Bug]: "
labels: ["bug", "triage"]

body:
- type: "textarea"
attributes:
label: "Summary"
description: "Please describe your problem here"
validations:
required: true

- type: "textarea"
attributes:
label: "Code snippet that reproduces the problem"
description: |
Please provide a minimal code snippet that reproduces the problem. If you have a larger code example,
please provide a link to a repository or create a pull request that introduces a failing test case.
- type: "textarea"
attributes:
label: "Expected output"
description: "What did you expect to happen?"
validations:
required: true
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: "Support Question"
url: "https://github.com/orgs/phpDocumentor/discussions"
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."
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/feature.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: "Feature request 🚀"
description: "I have a suggestion (and may want to implement it 🙂)!"
labels: ["feature", "triage"]

body:
- type: "textarea"
attributes:
label: "Feature request"
description: "Please provide a clear description of what problem you are trying to solve and how would you want it to be solved."
validations:
required: true

0 comments on commit f60570b

Please sign in to comment.