Skip to content

Commit

Permalink
chore: enable new issue category and add label
Browse files Browse the repository at this point in the history
  • Loading branch information
czy88840616 committed Oct 20, 2023
1 parent 5890ead commit 36bf95e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
name: 🐛 Bug Report
description: Create a report to help us reproduce and fix the bug(创建报告以帮助我们重现和修复 bug)
labels: "type: bug"

body:
- type: markdown
attributes:
value: >
value: |
#### Before submitting a bug, please make sure the issue hasn't been already addressed by searching through [the existing and past issues](https://github.com/midwayjs/midway/issues?q=is%3Aissue+sort%3Acreated-desc+).
#### 在提交 bug 之前,请通过搜索[现有和过去的问题](https://github.com/midwayjs/midway/issues?q=is%3Aissue+sort%3Acreated-desc+)来确保问题尚未解决。
- type: textarea
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
blank_issues_enabled: true
blank_issues_enabled: false
contact_links:
- name: Questions
url: https://github.com/midwayjs/midway/discussions
Expand Down
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/documentation.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: 📚 Documentation
description: Report an issue and help us improve the documentation(报告问题并帮助我们改进文档)
labels: "type: docs"

body:
- type: textarea
Expand Down
7 changes: 4 additions & 3 deletions .github/ISSUE_TEMPLATE/feature-request.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
name: 🚀 Feature request
description: Submit a proposal/request for a new Midway feature(提交 Midway 新功能的建议/请求)
labels: "type: enhancement"

body:
- type: textarea
attributes:
label: 🚀 The feature, motivation(功能、动机)
description: >
description: |
A clear and concise description of the feature proposal. Please outline the motivation for the proposal. Is your feature request related to a specific problem? e.g., *"I'm working on X and would like Y to be possible"*. If this is related to another GitHub issue, please link here too.
功能建议的清晰简洁的描述。请概述建议的动机。您的功能请求是否与特定问题有关?例如,*“我正在处理 X,并希望 Y 可能”*。如果这与另一个 GitHub 问题有关,请在此处链接。
Expand All @@ -14,14 +15,14 @@ body:
- type: textarea
attributes:
label: Alternatives(替代方案)
description: >
description: |
A description of any alternative solutions or features you've considered, if any.
如果有的话,请描述您考虑过的任何替代解决方案或功能。
- type: textarea
attributes:
label: Additional context(其他上下文)
description: >
description: |
Add any other context or screenshots about the feature request.
添加有关功能请求的任何其他上下文或屏幕截图。
Expand Down

0 comments on commit 36bf95e

Please sign in to comment.