This is an automated email from the ASF dual-hosted git repository.
fcsaky pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/master by this push:
new 3478ddf08bc [FLINK-38484][ci] Avoid long command line error in
community review script
3478ddf08bc is described below
commit 3478ddf08bce49e271f69b922a37ccada6f58688
Author: David Radley <[email protected]>
AuthorDate: Tue Oct 7 15:40:24 2025 +0100
[FLINK-38484][ci] Avoid long command line error in community review script
---
.github/workflows/community-review.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/community-review.sh
b/.github/workflows/community-review.sh
index 12315df3173..d39a4f42a03 100755
--- a/.github/workflows/community-review.sh
+++ b/.github/workflows/community-review.sh
@@ -116,7 +116,8 @@ main() {
receivedPullRequests=$(jq '[.[] | select((.node.isDraft = false))]' <<<
"$receivedPullRequests")
printf " %2s PR retained" "$(JSONArrayLength "$receivedPullRequests")"
- pullRequests=$(jq --argjson a1 "$pullRequests" --argjson a2
"$receivedPullRequests" '$a1 + $a2' <<< '{}')
+ # the below line is coded so as to avoid command-line argument limits.
+ pullRequests=$(jq -s '.[0] + .[1]' <(echo "$pullRequests") <(echo
"$receivedPullRequests"))
hasNextPage=$(jq '.data.repository.pullRequests.pageInfo.hasNextPage' <<<
"$restResponse")
cursor=$(jq -r '.data.repository.pullRequests.pageInfo.endCursor' <<<
"$restResponse")