Update pr-agent.yml

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Alexa Amundson
2026-02-27 01:44:51 -06:00
committed by GitHub
parent 601d02414c
commit 80c513a5bf

View File

@@ -36,6 +36,7 @@ jobs:
# Count total changed files robustly, even when there are zero files
TOTAL=$(printf '%s\n' "$ALL_FILES" | sed '/^$/d' | wc -l | tr -d ' ')
FILES=$(echo "$ALL_FILES" | head -50 | tr '\n' ', ')
FILES="${FILES%, }"
if [ "$TOTAL" -gt 50 ]; then
REMAINING=$(( TOTAL - 50 ))
FILES="${FILES} (and ${REMAINING} more files)"