Skip to content

Commit

Permalink
ci/request-reviews: Don't fail when there's too many reviewers
Browse files Browse the repository at this point in the history
It's better than getting failed CI and emails: NixOS#371528 (comment)

And fix a shellcheck lint
  • Loading branch information
infinisil committed Jan 20, 2025
1 parent 1be2382 commit 06ee611
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/request-reviews/request-reviewers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 06ee611

Please sign in to comment.