Skip to content

Commit

Permalink
Adding 'wrong' keyword to the regex that triggers Joule to remind peo…
Browse files Browse the repository at this point in the history
…ple of the workflow
  • Loading branch information
chr-tatu authored Aug 6, 2024
1 parent c2cdb4b commit b87abbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ async function processThreadMessagesForGratitude(client, event) {
async function processTopMessagesForBugWorkflowReminder(client, event) {
if (!CHANNELS_FOR_BUGS_WORKFLOW_REMINDER.includes(event.channel)) return;

const issueWordsRegex = /(bug|issue|error|reproduce|complain|replicate)/i;
const issueWordsRegex = /(bug|issue|error|reproduce|complain|replicate|wrong)/i;
const ignoreWordsRegex = /feedback/i;
const reminderMessage = `Oops! 🐞\nIt seems you found a bug, <@${event.user}>. Please use the 'Report a Bug' workflow. Thanks! 🙌`;

Expand Down

0 comments on commit b87abbd

Please sign in to comment.