ci/request-reviews: lowercase handles consistently

This script assumed to get lowercased input before, but with the
addition of pinging maintainers that's not necessarily true anymore.

Since the checks for prAuthor and already-reviewed-by already lowercase,
make sure to lowercase the handles in the users array, too.
This commit is contained in:
Wolfgang Walther
2025-01-04 12:07:49 +01:00
parent 4f9ad9a512
commit 213dbf1774
+1 -1
View File
@@ -24,7 +24,7 @@ trap 'rm -rf "$tmp"' exit
declare -A users=()
while read -r handle && [[ -n "$handle" ]]; do
users[$handle]=
users[${handle,,}]=
done
# Cannot request a review from the author