From: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Date: Mon, 8 Dec 2025 21:18:41 +0000 (+0000) Subject: Add clarifying comments to workflow filter logic X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3e6e66d5c0f747424db3726075e4911e0873b8e;p=thirdparty%2Ftvheadend.git Add clarifying comments to workflow filter logic Co-authored-by: Flole998 <9951871+Flole998@users.noreply.github.com> --- diff --git a/.github/workflows/update-intl-templates.yml b/.github/workflows/update-intl-templates.yml index c0f56d831..9cded70bd 100644 --- a/.github/workflows/update-intl-templates.yml +++ b/.github/workflows/update-intl-templates.yml @@ -52,7 +52,8 @@ jobs: echo "No changes detected in internationalisation templates" else # Check if changes are only in POT-Creation-Date lines - # Filter out lines that only change the date + # Extract diff lines that start with + or - (actual changes) + # Exclude file markers (--- and +++) and POT-Creation-Date lines SUBSTANTIVE_CHANGES=$(git diff --cached | grep -E '^[-+]' | grep -v '^---' | grep -v '^+++' | grep -v 'POT-Creation-Date:' || true) if [ -z "$SUBSTANTIVE_CHANGES" ]; then