Skip to content

Commit

Permalink
chore: add GitHub issue templates (#908)
Browse files Browse the repository at this point in the history
  • Loading branch information
yusukebe authored Dec 26, 2024
1 parent f51320b commit 135db3c
Show file tree
Hide file tree
Showing 3 changed files with 78 additions and 0 deletions.
52 changes: 52 additions & 0 deletions .github/ISSUE_TEMPLATE/1-bug-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: 🐛 Bug Report
description: Report an issue that should be fixed
labels: [triage]
body:
- type: markdown
attributes:
value: |
Thank you for submitting a bug report. It helps make Hono better.
If you need help or support using Hono, and are not reporting a bug, please ask questions in [our Discord](https://discord.gg/KMh2eNSdxV) or [GitHub Discussions](https://github.com/orgs/honojs/discussions).
Please try to include as much information as possible.
- type: input
attributes:
label: Which middleware has the bug?
placeholder: '@hono/zod-validator'
validations:
required: true
- type: input
attributes:
label: What version of the middleware?
description: 0.0.0
validations:
required: true
- type: input
attributes:
label: What version of Hono are you using?
placeholder: 0.0.0
validations:
required: true
- type: input
attributes:
label: What runtime/platform is your app running on? (with version if possible)
placeholder: Cloudflare Workers, Deno, Bun, etc.
validations:
required: true
- type: textarea
attributes:
label: What steps can reproduce the bug?
description: Explain the bug and provide a code snippet that can reproduce it.
validations:
required: true
- type: textarea
attributes:
label: What is the expected behavior?
- type: textarea
attributes:
label: What do you see instead?
- type: textarea
attributes:
label: Additional information
description: Is there anything else you think we should know?
18 changes: 18 additions & 0 deletions .github/ISSUE_TEMPLATE/2-feature-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: 🚀 Feature Request
description: Suggest an idea, feature, or enhancement
labels: [enhancement]
body:
- type: markdown
attributes:
value: |
Thank you for submitting an idea. It helps make Hono better.
- type: input
attributes:
label: Which middleware is the feature for?
placeholder: '@hono/zod-validator'
- type: textarea
attributes:
label: What is the feature you are proposing?
description: A clear description of what you want to happen.
validations:
required: true
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blank_issues_enabled: true
contact_links:
- name: ❓ Questions
url: https://github.com/orgs/honojs/discussions
about: Ask your questions on the GitHub Discussions.
- name: 🗣️ Discord
url: https://discord.gg/KMh2eNSdxV
about: Join our Discord server to chat.

0 comments on commit 135db3c

Please sign in to comment.