Skip to content

Commit 4edf658

Browse files
authored
Adjust conditions for first response (#2183)
1 parent 05e8805 commit 4edf658

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/ISSUE_TEMPLATE/bug-report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ body:
7474
- Summary Statistics
7575
- T-Tests
7676
- Visual Modeling
77-
- Other Module
77+
- Other
7878
validations:
7979
required: true
8080
- type: input

.github/scripts/bug_firstResponse.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module.exports = async function ({github, context}) {
1010
const body = issue.data.body;
1111
// if any of these string are in the issue body, then there was a user upload,
1212
// the first string covers all the image/video files
13-
const regex = /user-images\.githubusercontent\.com|\.zip|\.rar|\.csv|\.sav|\.xlsx|\.xls|\.csv2/;
13+
const regex = /(!\[.*?\])|\.zip|\.rar|\.csv|\.sav|\.xlsx|\.xls|\.csv2/;
1414
if (!regex.test(body)) {
1515
const comment = "@" + issue.data.user.login +
1616
", thanks for taking the time to create this issue. \

.github/scripts/keywords.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ module.exports = function () {
3131
["Summary Statistics","Module: jaspSummaryStatistics", "akashrajkn"],
3232
["T-Tests","Module: jaspTTests", "vandenman"],
3333
["Visual Modeling","Module: jaspVisualModeling", "dustinfife"],
34-
["Other Module", "", "Kucharssim"],
34+
["Other", "", "Kucharssim"],
3535
["_No response_", "", "EJWagenmakers"]
3636
],
3737
oses: [

0 commit comments

Comments
 (0)