Skip to content

Commit 0b2abdd

Browse files
committed
feat: add issue template
1 parent a54c7cf commit 0b2abdd

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<!--
2+
3+
感谢您的关注,反馈问题请认真填写下面选项~
4+
5+
-->
6+
7+
node version: 版本号
8+
9+
---

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ Github robot
2626

2727
```
2828
node version: 版本号
29-
url: http://www.example.com
3029
```
3130

3231
### labels 规则

src/modules/issues/replyInvalid.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const comment = [
1616
].join('');
1717

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

2222
function replyInvalid(on) {

0 commit comments

Comments
 (0)