Unverified Commit 25b6c45e authored by Michael Daniels's avatar Michael Daniels
Browse files

ci/github-script/reviewers: convert all usernames to lowercase (part 2)

Context: #464046
parent e20a739b
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -45,7 +45,9 @@ async function handleReviewers({
    ...(await Promise.all(
      maintainers.map(async (id) => (await getUser(id)).login.toLowerCase()),
    )),
    ...owners.filter((handle) => handle && !handle.includes('/')),
    ...owners
      .filter((handle) => handle && !handle.includes('/'))
      .map((handle) => handle.toLowerCase()),
  ])
  log('reviewers - users', Array.from(users).join(', '))