Update issue.yml (#210)
This commit is contained in:
parent
f2e68c4f4a
commit
87d7464afc
1 changed files with 1 additions and 1 deletions
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 == '[Bug]' || title == '[Bug] '){
|
||||
if(title.substr(0, 5) !== '[Bug]' || title.trim() == '[Bug]'){
|
||||
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