From 07ad3399e8fb8c86e85caa1f2b8d26f3fcedd0ee Mon Sep 17 00:00:00 2001 From: Michael Geers Date: Tue, 14 Oct 2025 14:07:18 +0200 Subject: [PATCH] chore: refine lang matching #24300 --- .github/workflows/language-reminder.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/language-reminder.yml b/.github/workflows/language-reminder.yml index b5ed644d2..58e59084a 100644 --- a/.github/workflows/language-reminder.yml +++ b/.github/workflows/language-reminder.yml @@ -45,7 +45,7 @@ jobs: messages: [ { role: 'system', - content: 'Determine if a user comment requires a language reminder. This project requires English communication to ensure everyone can participate. Exceptions: very brief comments (1-5 words), comments mixing English with technical native language terms (e.g. "Bundesnetzagentur", "Einspeisevergütung"), or uncertain cases should not be flagged. Return true if the comment is predominantly non-English (especially German) and requires a reminder, false otherwise.' + content: 'This project requires English communication to ensure everyone can participate. Determine if a user comment requires a language reminder. The comment is markdown formatted. When analyzing: ignore text inside markdown code blocks (```), code suggestions, and quotes (>) as these may contain translations/i18n content (e.g. "de: Text"). Only analyze the regular text content. Short comments (one sentence) should not be flagged. Return `true` if you think a reminder to switch to English is needed, `false` otherwise. When unsure, return `false`.' }, { role: 'user',