From b79dbb2c18c72330918d78221b96b4b61cf4a8a7 Mon Sep 17 00:00:00 2001 From: f Date: Mon, 6 Jan 2025 01:51:04 +0300 Subject: [PATCH] lowercase --- .github/workflows/ai_bot.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ai_bot.yml b/.github/workflows/ai_bot.yml index 6498dc2..1a3372e 100644 --- a/.github/workflows/ai_bot.yml +++ b/.github/workflows/ai_bot.yml @@ -145,7 +145,7 @@ jobs: .join('\n'); console.log('Attempting to extract prompts from README changes...'); - const promptMatches = [...addedLines.matchAll(/## Act as (?:a |an )?([^\n]+)\n(?:Contributed by:[^\n]*\n)?(?:> )?([^#]+?)(?=\n##|\n\n##|$)/g)]; + const promptMatches = [...addedLines.matchAll(/## Act as (?:a |an )?([^\n]+)\n(?:Contributed by:[^\n]*\n)?(?:> )?([^#]+?)(?=\n##|\n\n##|$)/ig)]; for (const match of promptMatches) { const actName = `Act as ${match[1].trim()}`;