No "hide root" & add tips (#217)
* Update bug_report.yml * No hide root * Update issue.yml * Update issue.yml
This commit is contained in:
parent
4bc7416a9d
commit
af34b8f056
2 changed files with 4 additions and 2 deletions
4
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
4
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
|
|
@ -8,11 +8,13 @@ body:
|
|||
value: |
|
||||
Thanks for reporting issues of Hide-My-Applist!
|
||||
|
||||
To prevent spam, please fill in the title after "[Bug]".
|
||||
|
||||
To make it easier for us to help you please enter detailed information below.
|
||||
|
||||
感谢给 Hide-My-Applist 汇报问题!
|
||||
为了使我们更好地帮助你,请提供以下信息。
|
||||
为了防止重复汇报,标题请务必使用英文。
|
||||
为了防止重复汇报与垃圾信息,标题请务必使用英文,在“[Bug]”之后填写内容。
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Steps to reproduce/复现步骤
|
||||
|
|
|
|||
2
.github/workflows/issue.yml
vendored
2
.github/workflows/issue.yml
vendored
|
|
@ -31,7 +31,7 @@ jobs:
|
|||
var invalid = false;
|
||||
for(var i=0,l=labels.length;i<l;i++){
|
||||
if(labels[i]['name'] == 'bug'){
|
||||
if(title.substr(0, 5) !== '[Bug]' || title.trim() == '[Bug]'){
|
||||
if(title.substr(0, 5) !== '[Bug]' || title.trim() == '[Bug]' || title.toLowerCase().includes('hide root')){
|
||||
spam = true;
|
||||
}
|
||||
if(body.search("### Version requirement/版本要求\n\nPublic release/beta version/公开发布/测试版\n\n") != -1 || body.search("### Version requirement/版本要求\n\nOther/其他\n\n") != -1){
|
||||
|
|
|
|||
Loading…
Reference in a new issue