mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-03-06 23:31:34 +00:00
ci/request-reviews: Don't fail when there's too many reviewers
It's better than getting failed CI and emails: https://github.com/NixOS/nixpkgs/pull/371528#issuecomment-2573926369 And fix a shellcheck lint
This commit is contained in:
parent
1be2382e83
commit
06ee611619
|
@ -69,8 +69,8 @@ for user in "${!users[@]}"; do
|
|||
done
|
||||
|
||||
if [[ "${#users[@]}" -gt 10 ]]; then
|
||||
log "Too many reviewers (${!users[@]}), skipping review requests"
|
||||
exit 1
|
||||
log "Too many reviewers (${!users[*]}), skipping review requests"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
for user in "${!users[@]}"; do
|
||||
|
|
Loading…
Reference in a new issue