]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Add clarifying comments to workflow filter logic master
authorcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Mon, 8 Dec 2025 21:18:41 +0000 (21:18 +0000)
committerFlole <Flole998@users.noreply.github.com>
Mon, 15 Dec 2025 07:34:16 +0000 (08:34 +0100)
Co-authored-by: Flole998 <9951871+Flole998@users.noreply.github.com>
.github/workflows/update-intl-templates.yml

index c0f56d8319a77ea48b56b51f6a0e93e8f4426aec..9cded70bd696ce4a8a8f738e62fa90d3c45c4459 100644 (file)
@@ -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