From a7ca0e9854f2f64acd78e882d655d46d0b981fdb Mon Sep 17 00:00:00 2001 From: 14Richa Date: Thu, 10 Aug 2023 16:02:26 +0530 Subject: [PATCH] changed the username to lowercase --- .github/workflows/update-maintainers.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-maintainers.yml b/.github/workflows/update-maintainers.yml index 373d5a0d..c4cd1baa 100644 --- a/.github/workflows/update-maintainers.yml +++ b/.github/workflows/update-maintainers.yml @@ -95,7 +95,7 @@ jobs: continue; // Skip the iteration for bot accounts } - const maintainer = maintainers.find(maintainer => maintainer.github === username); + const maintainer = maintainers.find(maintainer => maintainer.github === username.toLowerCase()); if (!maintainer) { const { data } = await github.rest.users.getByUsername({ username }); const twitterUsername = data.twitter_username; @@ -174,4 +174,4 @@ jobs: SLACK_WEBHOOK: ${{ secrets.SLACK_CI_FAIL_NOTIFY }} SLACK_TITLE: 🚨 Update maintainers list action failed 🚨 SLACK_MESSAGE: Failed to update the maintainers list. - MSG_MINIMAL: true + MSG_MINIMAL: true \ No newline at end of file