update issue templates (#2108)

This commit is contained in:
saldry 2022-09-27 12:15:25 +08:00 committed by GitHub
parent e3511b99f4
commit 17c3008a2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 113 additions and 72 deletions

View File

@ -1,35 +0,0 @@
---
name: Bug上报
about: 创建报告以帮助我们改进
title: ''
labels: bug
assignees: ''
---
## 描述bug(必填)
<!-- 对于bug的清晰简洁的描述. -->
## 复现步骤(必填)
<!-- 重现Bug步骤: -->
<!-- 1. 选择菜单'...' -->
<!-- 2. 点击按钮 '....' -->
<!-- 3. 等等操作 '....' -->
<!-- 4. 出现Bug -->
## 你想要实现的目的(必填)
<!--对你期望发生的事情的清晰简洁的描述。-->
## 日志信息(必填!)
<!--包括问题相关的所有系统日志信息(这个很重要)。-->
## 截图
<!--如果适用,请添加屏幕截图以帮助解释你的问题。-->
## 系统相关信息(必填)
<!-- - passwall版本-->
<!-- - 浏览器版本例如Chrome 96.0.4664.45(正式版本) 64 位)-->
## 其他相关信息
<!-- 在此处添加有关该Bug的任何其他信息。-->

View File

@ -1,20 +0,0 @@
---
name: 功能请求
about: 为这个项目提出一个新功能的想法
title: ''
labels: enhancement
assignees: ''
---
## 你的功能请求是否与问题有关? 请描述。(必填)
<!-- 对问题所在的清晰简洁的描述。 例如。 当 [...] 时,我总是[....] -->
## 描述你想要的解决方案 (必填)
<!-- 对你想要的新功能的清晰简洁的描述。 -->
## 描述你考虑过的替代方案
<!--对你考虑过的任何替代解决方案或功能的清晰简明描述。-->
## 附加上下文
<!--在此处添加有关功能请求的任何其他信息或屏幕截图。-->

75
.github/ISSUE_TEMPLATE/bug.yml vendored Normal file
View File

@ -0,0 +1,75 @@
name: Bug上报
description: 报告您使用中遇到的Bug以帮助我们改进
title: "[Bug]: "
labels: bug
body:
- type: markdown
id: tips
attributes:
value: |
请按此规范填写,有效的反馈能让我们更好地解决您的问题
- type: textarea
id: description
attributes:
label: 描述您遇到的bug
description: 请尽可能简单清晰地描述问题
validations:
required: true
- type: textarea
id: steps
attributes:
label: 复现此Bug的步骤
placeholder: |
1. 选择菜单'...'
2. 点击按钮'....'
3. 然后...
4. 出现Bug
validations:
required: true
- type: textarea
id: purpose
attributes:
label: 您想要实现的目的
description: 请尽可能简单清晰地描述您期望发生的事
validations:
required: true
- type: textarea
id: logs
attributes:
label: 日志信息
description: 提交包括问题相关的所有系统日志信息(这个很重要)
validations:
required: true
- type: textarea
id: pics
attributes:
label: 截图
description: 如果适用,您可以添加屏幕截图以便更好地解释您的问题
validations:
required: false
- type: textarea
id: environment
attributes:
label: 系统相关信息
description: 填写相关信息以便更好的确定问题
placeholder: |
- Passwall版本
- 浏览器版本如Chrome 96.0.4664.45 64位 正式版):
- 其他:
validations:
required: true
- type: textarea
id: supplements
attributes:
label: 其他信息
description: 与此Bug相关的其他信息
validations:
required: false

1
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
View File

@ -0,0 +1 @@
blank_issues_enabled: false

37
.github/ISSUE_TEMPLATE/feature.yml vendored Normal file
View File

@ -0,0 +1,37 @@
name: 功能请求
description: 为此项目提出关于新功能的想法
title: "[Feature Request]: "
labels: enhancement
body:
- type: textarea
id: description
attributes:
label: 描述你想要的新功能
description: 尽可能简单清晰地描述你想要的新功能或是希望解决的问题
validations:
required: true
- type: textarea
id: ideal-solution
attributes:
label: 描述你想要的解决方案
description: 尽可能简单清晰地描述你想要的新功能
validations:
required: true
- type: textarea
id: other-solutions
attributes:
label: 描述你考虑过的替代方案
description: 尽可能简单清晰地描述你考虑过的任何替代解决方案或功能
validations:
required: false
- type: textarea
id: supplements
attributes:
label: 其他信息
description: 在此处添加有关功能请求的任何其他信息或屏幕截图
validations:
required: false

View File

@ -1,17 +0,0 @@
name: "Auto Close Not Following Template Issue"
on:
issues:
types: [opened, edited]
jobs:
auto_close_issues:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Automatically close issues that don't follow the issue template
uses: lucasbento/auto-close-issues@v1.0.2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
issue-close-message: "@${issue.user.login}: hello! :wave:\n\nThis issue is being automatically closed because it does not follow the issue template." # optional property
closed-issues-label: "🙁 Not following issue template" # optional property