From e115e1f30e9e0a9bb10953109dc6294853a85388 Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Thu, 13 Feb 2025 17:01:57 +0800 Subject: [PATCH] Update json.test.js --- tests/json.test.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/json.test.js b/tests/json.test.js index 39d293f81..e6f77d5df 100644 --- a/tests/json.test.js +++ b/tests/json.test.js @@ -165,6 +165,7 @@ t("All files should have valid required and optional fields", (t) => { // Validate email format if (data.owner.email) { t.regex(data.owner.email, emailRegex, `${file}: Owner email should be a valid email address`); + t.true(!data.owner.email.endsWith("@users.noreply.github.com"), `${file}: Owner email should not be a GitHub no-reply email`); } // Ensure 'record' field is not empty