Skip to content

Commit

Permalink
convert username in lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
14Richa committed Aug 10, 2023
1 parent 7d685a2 commit fb3e649
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/update-maintainers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fb3e649

Please sign in to comment.