Skip to content

Commit

Permalink
feat: add issue template
Browse files Browse the repository at this point in the history
  • Loading branch information
xuexb committed Oct 15, 2017
1 parent a54c7cf commit 0b2abdd
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
9 changes: 9 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!--
感谢您的关注,反馈问题请认真填写下面选项~
-->

node version: 版本号

---
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ Github robot

```
node version: 版本号
url: http://www.example.com
```

### labels 规则
Expand Down
2 changes: 1 addition & 1 deletion src/modules/issues/replyInvalid.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const comment = [
].join('');

const match = str => {
return /node version:\s*(\d\.?)+/.test(str) && /url:\s*(https?:)?\/\/(\w{3,})/.test(str);
return /node version:\s*(\d\.?)+/.test(str);
};

function replyInvalid(on) {
Expand Down

0 comments on commit 0b2abdd

Please sign in to comment.