From 75ef9bc681d00546a90276b6172dd79da519653b Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Thu, 10 Jul 2025 01:21:42 +0530 Subject: [PATCH] fix: Make PR labeler stricter --- .github/workflows/pr-labeler.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-labeler.yml b/.github/workflows/pr-labeler.yml index 18bc7c6c5..1d1ed30d6 100644 --- a/.github/workflows/pr-labeler.yml +++ b/.github/workflows/pr-labeler.yml @@ -42,7 +42,7 @@ jobs: pull_number: prNumber, }); - const isSponsored = commits.some( + const isSponsored = commits.every( (c) => c.commit.author.email?.endsWith('@mermaidchart.com') );