Merge branch 'main' into main

This commit is contained in:
Vu Thanh Luan
2025-02-13 16:02:49 +07:00
committed by GitHub
+1
View File
@@ -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