Skip to content

Commit

Permalink
Merge pull request #170 from artsy/chr-tatu/new-keyword-wrong
Browse files Browse the repository at this point in the history
chore: Add 'wrong' keyword to Joule workflow regex
  • Loading branch information
chr-tatu authored Aug 6, 2024
2 parents c2cdb4b + b87abbd commit be16fff
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 be16fff

Please sign in to comment.