Skip to content

Commit

Permalink
Merge pull request Meituan-Dianping#901 from hunnble/dev/templateAndC…
Browse files Browse the repository at this point in the history
…onfigs

feat: 修改issue template格式,添加mpvue-bot配置
  • Loading branch information
aOrz authored Aug 17, 2018
2 parents cfbd968 + 74811d9 commit 07ca587
Show file tree
Hide file tree
Showing 5 changed files with 80 additions and 19 deletions.
19 changes: 0 additions & 19 deletions .github/ISSUE_TEMPLATE.md

This file was deleted.

25 changes: 25 additions & 0 deletions .github/ISSUE_TEMPLATE/Bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
name: 报告问题(Bug report)
about: 描述你遇到的问题并寻求社区帮助
---

## [问题简单描述]

**问题复现步骤:**

1. [第一步]
2. [第二步]
3. [其他步骤...]

**期望的表现:**

[在这里描述期望的表现]

**观察到的表现:**

[在这里描述观察到的表现]

**屏幕截图或动态图:**

![复现步骤的屏幕截图和动态 GIF 图](图片的 url)
[建议提供可运行的demo]
18 changes: 18 additions & 0 deletions .github/ISSUE_TEMPLATE/Feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
name: 建议新功能(Feature Request)
about: 展示已经实现的新功能,或者对项目提出新的需求和建议
---

## [在此简单描述您的建议]

**新功能相关的问题issue或讨论:**

[在这里引用新功能相关的讨论]

**新功能的实现:**

[在这里填写或简单描述功能的实现方式或需求的解决方式]

**相关项目或文档:**

[在这里引用相关项目或文档地址]
30 changes: 30 additions & 0 deletions .github/issue_template.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
issueConfigs:
-
bannedTitle: "问题简单描述"
subtitles:
- "问题复现步骤:"
- "期望的表现:"
- "观察到的表现:"
- "屏幕截图或动态图:"
bannedContents:
- "第一步"
- "第二步"
- "其他步骤..."
- "在这里描述期望的表现"
- "在这里描述观察到的表现"
- "复现步骤的屏幕截图和动态 GIF 图"
- "图片的 url",
- "建议提供可运行的demo"
-
bannedTitle: "在此简单描述您的建议"
subtitles:
- "新功能相关的问题issue或讨论:"
- "新功能的实现:"
- "相关项目或文档:"
bannedContents:
- "在这里引用新功能相关的讨论"
- "在这里填写或简单描述功能的实现方式或需求的解决方式"
- "在这里引用相关项目或文档地址"

comments:
closeIssue: "issue不符合格式要求,请确保格式正确且填写所有有效信息。请确保issue中存在模板中各级小标题(如“期望的表现:”或“新功能的实现:”),且小标题下内容不是模板默认内容(如“[在这里描述期望的表现]”或“[在这里填写或简单描述功能的实现方式或需求的解决方式]”)"
7 changes: 7 additions & 0 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
daysUntilStale: 30

markComment: "issue超过30天无更新或响应,7天后将自动关闭,如果问题状态有更新请及时更新issue"

limitPerRun: 24

only: issues

0 comments on commit 07ca587

Please sign in to comment.