diff --git a/.github/workflows/scripts/check_duplicate_prs/run b/.github/workflows/scripts/check_duplicate_prs/run index 07c45303a604..ddcd796cdf60 100755 --- a/.github/workflows/scripts/check_duplicate_prs/run +++ b/.github/workflows/scripts/check_duplicate_prs/run @@ -255,14 +255,12 @@ main() { echo "Processing PRs for issue references..." debug_log "Starting to process $total_prs PRs for issue references" - # Process PRs one by one... + # Process PRs one by one, streaming the list through a single `jq` invocation in order to avoid re-parsing the entire list once per PR... processed_count=0 - for ((i=0; i