Skip to content

Commit

Permalink
ci/request-reviews: limit to 10 maintainer review requests
Browse files Browse the repository at this point in the history
This mirrors ofborg for now.
  • Loading branch information
wolfgangwalther committed Jan 5, 2025
1 parent 0ae9890 commit 240c82b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ci/request-reviews/request-reviewers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@ for user in "${!users[@]}"; do
fi
done

if [[ "${#users[@]}" -gt 10 ]]; then
log "Too many reviewers (${!users[@]}), skipping review requests"
exit 1
fi

for user in "${!users[@]}"; do
log "Requesting review from: $user"

Expand Down

0 comments on commit 240c82b

Please sign in to comment.