From 05137869031d02ea539bded704b5171c99d83f78 Mon Sep 17 00:00:00 2001 From: pazpi Date: Thu, 8 Jan 2026 09:11:03 +0100 Subject: [PATCH] When creating the issue, show the last 150 lines, not 50 --- .forgejo/workflows/auto-update.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/auto-update.yaml b/.forgejo/workflows/auto-update.yaml index 27eadbc..3aa8bb6 100644 --- a/.forgejo/workflows/auto-update.yaml +++ b/.forgejo/workflows/auto-update.yaml @@ -235,8 +235,8 @@ jobs: # Get build log if available if [ -f "logs/build-${HOST}.txt" ]; then - LOG_TAIL=$(tail -50 "logs/build-${HOST}.txt" | sed 's/"/\\"/g' | sed ':a;N;$!ba;s/\n/\\n/g') - FAILURE_DETAILS="$FAILURE_DETAILS\n\n
\n$HOST build log (last 50 lines)\n\n\`\`\`\n$LOG_TAIL\n\`\`\`\n
" + LOG_TAIL=$(tail -150 "logs/build-${HOST}.txt" | sed 's/"/\\"/g' | sed ':a;N;$!ba;s/\n/\\n/g') + FAILURE_DETAILS="$FAILURE_DETAILS\n\n
\n$HOST build log (last 150 lines)\n\n\`\`\`\n$LOG_TAIL\n\`\`\`\n
" fi done fi