From d2875c295ecf6c16b9908937e8cffb44a41ec957 Mon Sep 17 00:00:00 2001 From: subatoi <32935794+subatoi@users.noreply.github.com> Date: Tue, 17 Nov 2026 12:19:26 +0000 Subject: [PATCH] Allow dollar signs in issue titles (#64763) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> --- .github/workflows/check-for-spammy-issues.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/check-for-spammy-issues.yml b/.github/workflows/check-for-spammy-issues.yml index 28783db289b8..8bf0775b6ece 100644 --- a/.github/workflows/check-for-spammy-issues.yml +++ b/.github/workflows/check-for-spammy-issues.yml @@ -40,12 +40,11 @@ jobs: const titleWordCountMin = 3 const urlRegex = /https?:\/\/\S+/i const titleHasUrl = urlRegex.test(issue.title) - const titleHasDollarSign = issue.title.includes('$') // Text-default symbols need an emoji selector; plain digits, #, and * need a keycap. const titleHasEmoji = /\p{Emoji_Presentation}(?!\uFE0E)|\p{Extended_Pictographic}\uFE0F|[#*0-9]\uFE0F?\u20E3/u.test(issue.title) // Keep the existing non-emoji heuristics limited to newly opened issues. const hasOtherSpam = context.payload.action === 'opened' && - (titleWordCount < titleWordCountMin || titleHasUrl || titleHasDollarSign) + (titleWordCount < titleWordCountMin || titleHasUrl) if (!titleHasEmoji && !hasOtherSpam) { return }