We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9773f4 commit 3478ddfCopy full SHA for 3478ddf
.github/workflows/community-review.sh
@@ -116,7 +116,8 @@ main() {
116
receivedPullRequests=$(jq '[.[] | select((.node.isDraft = false))]' <<< "$receivedPullRequests")
117
printf " %2s PR retained" "$(JSONArrayLength "$receivedPullRequests")"
118
119
- pullRequests=$(jq --argjson a1 "$pullRequests" --argjson a2 "$receivedPullRequests" '$a1 + $a2' <<< '{}')
+ # the below line is coded so as to avoid command-line argument limits.
120
+ pullRequests=$(jq -s '.[0] + .[1]' <(echo "$pullRequests") <(echo "$receivedPullRequests"))
121
122
hasNextPage=$(jq '.data.repository.pullRequests.pageInfo.hasNextPage' <<< "$restResponse")
123
cursor=$(jq -r '.data.repository.pullRequests.pageInfo.endCursor' <<< "$restResponse")
0 commit comments