From f43ff477daf4d19e367b5cc57db9a67aabb4f457 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Fri, 19 Jan 2024 10:52:28 +0100 Subject: [PATCH] meta: minify the output watcher diff further --- .github/workflows/output-watcher.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/output-watcher.yml b/.github/workflows/output-watcher.yml index 487d92ceb..3242e5b94 100644 --- a/.github/workflows/output-watcher.yml +++ b/.github/workflows/output-watcher.yml @@ -73,7 +73,7 @@ jobs: run: | EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64) echo "OUTPUT_DIFF<<$EOF" >> "$GITHUB_OUTPUT" - cd /tmp/uppy && git --no-pager diff --ignore-blank-lines >> "$GITHUB_OUTPUT" + cd /tmp/uppy && git --no-pager diff --ignore-all-space -U0 | grep -Ev "^\+\s*$" >> "$GITHUB_OUTPUT" echo "$EOF" >> "$GITHUB_OUTPUT" - name: Add/update comment uses: marocchino/sticky-pull-request-comment@v2