Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Make guild member check case-insensitive in PR labeler (#54444)
Joseph T. Lyonsdd5cf89e0383
diff --git a/.github/workflows/pr_labeler.yml b/.github/workflows/pr_labeler.ymlindex c5c9d27b3b5..9ea70385432 100644--- a/.github/workflows/pr_labeler.yml+++ b/.github/workflows/pr_labeler.yml@@ -37,6 +37,7 @@ jobs:'11happy','AidanV','AmaanBilwar',+ 'MostlyKIGuess','OmChillure','Palanikannan1437','Shivansh-25',@@ -60,7 +61,6 @@ jobs:'loadingalias','marcocondrache','mchisolm0',- 'mostlyKIGuess','nairadithya','nihalxkumar','notJoon',@@ -114,7 +114,11 @@ jobs:return;}- if (GUILD_MEMBERS.includes(author)) {+ const authorLower = author.toLowerCase();+ const isGuildMember = GUILD_MEMBERS.some(+ (member) => member.toLowerCase() === authorLower+ );+ if (isGuildMember) {await github.rest.issues.addLabels({owner: context.repo.owner,repo: context.repo.repo,