diff --git a/.github/bot-scripts/ensureLogfileInDiscussion.js b/.github/bot-scripts/ensureLogfileInDiscussion.js index 48caa6821673..204d5e1b3f6b 100644 --- a/.github/bot-scripts/ensureLogfileInDiscussion.js +++ b/.github/bot-scripts/ensureLogfileInDiscussion.js @@ -3,7 +3,7 @@ /// const zjsLogRegex = - /\[.*\]\(http.*zwavejs_.*\.(log|txt|zip|t?gz|(log|txt)\.(zip|t?gz))\)/; + /\[.*\]\(http.*(zwavejs_|zwave_js).*\.(log|txt|zip|t?gz|(log|txt)\.(zip|t?gz))\)/; const markdownLinkRegex = /\[.*\]\(http.*\)/; const codeBlockRegex = /`{3,4}(.*?)`{3,4}/s;