From d37ed567a821483a00fa414bb46cab038a5bd4ab Mon Sep 17 00:00:00 2001 From: Will Murphy Date: Mon, 1 Dec 2025 16:46:42 -0500 Subject: [PATCH] chore: use git ls-files instead of find to list files (#4425) Signed-off-by: Will Murphy --- .github/scripts/check_binary_fixture_size.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/check_binary_fixture_size.sh b/.github/scripts/check_binary_fixture_size.sh index 764824820..09e79a1a4 100755 --- a/.github/scripts/check_binary_fixture_size.sh +++ b/.github/scripts/check_binary_fixture_size.sh @@ -24,7 +24,7 @@ while IFS= read -r -d '' file; do echo "File $file is greater than ${size} bytes." found_large_files=1 fi -done < <(find "$directory" -type f -print0) +done < <(git ls-files -z "$directory") if [ "$found_large_files" -eq 1 ]; then echo "Script failed: Some files are greater than ${size} bytes."