We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e6ff6d commit 2c439e4Copy full SHA for 2c439e4
.github/scripts/bug_firstResponse.js
@@ -10,7 +10,7 @@ module.exports = async function ({github, context}) {
10
const body = issue.data.body;
11
// if any of these string are in the issue body, then there was a user upload,
12
// the first string covers all the image/video files
13
- const regex = /(!\[.*?\])|\.zip|\.rar|\.csv|\.sav|\.xlsx|\.xls|\.csv2|\.pdf|\.docx/;
+ const regex = /user-attachments/;
14
if (!regex.test(body)) {
15
const comment = "@" + issue.data.user.login +
16
", thanks for taking the time to create this issue. \
0 commit comments