mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-07 06:14:14 +01:00
fix: Make PR labeler stricter
This commit is contained in:
2
.github/workflows/pr-labeler.yml
vendored
2
.github/workflows/pr-labeler.yml
vendored
@@ -42,7 +42,7 @@ jobs:
|
|||||||
pull_number: prNumber,
|
pull_number: prNumber,
|
||||||
});
|
});
|
||||||
|
|
||||||
const isSponsored = commits.some(
|
const isSponsored = commits.every(
|
||||||
(c) => c.commit.author.email?.endsWith('@mermaidchart.com')
|
(c) => c.commit.author.email?.endsWith('@mermaidchart.com')
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user