You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MAX_SIZE=$((1000*1024))# 1000KB to leave some margin
18
-
SUMMARY_SIZE=${#SUMMARY}
19
-
20
-
if [ $SUMMARY_SIZE-gt$MAX_SIZE ];then
21
-
# Save full diff to file for artifact upload
22
-
DIFF_FILE="diff_${BASE}_${TARGET}.txt"
23
-
echo"${RESULT}">"${DIFF_FILE}"
24
-
echo"DIFF_FILE=${DIFF_FILE}">>$GITHUB_OUTPUT
25
-
echo"DIFF_TOO_LARGE=true">>$GITHUB_OUTPUT
26
-
27
-
SUMMARY="## Diff between ${BASE} and ${TARGET}"$'\n'$'\n'"⚠️ **Diff output is too large (${SUMMARY_SIZE} bytes > 1024KB limit)**"$'\n'$'\n'"The full diff has been uploaded as an artifact. Please download it from the Artifacts section at the bottom of this page."
0 commit comments