mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03: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
1 changed files with 2 additions and 2 deletions
|
@ -69,8 +69,8 @@ for user in "${!users[@]}"; do
|
||||||
done
|
done
|
||||||
|
|
||||||
if [[ "${#users[@]}" -gt 10 ]]; then
|
if [[ "${#users[@]}" -gt 10 ]]; then
|
||||||
log "Too many reviewers (${!users[@]}), skipping review requests"
|
log "Too many reviewers (${!users[*]}), skipping review requests"
|
||||||
exit 1
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for user in "${!users[@]}"; do
|
for user in "${!users[@]}"; do
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue