From 8ea55577a9368a3d735c914228b9342211b58cd3 Mon Sep 17 00:00:00 2001 From: Ali Caglayan Date: Thu, 7 Mar 2024 00:14:11 +0100 Subject: [PATCH] fx Signed-off-by: Ali Caglayan --- .github/workflows/whitespace.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/whitespace.yml b/.github/workflows/whitespace.yml index 8901833f8f9..5e7fcda91e3 100644 --- a/.github/workflows/whitespace.yml +++ b/.github/workflows/whitespace.yml @@ -49,13 +49,13 @@ jobs: - name: git log --check id: check_out run: | - log= + log= base_commit=$(git rev-parse FETCH_HEAD) while IFS= read -r line; do log="${log}\n${line}" if [[ $line =~ ^-[^-] ]]; then file_line=$(echo "$line" | cut -c 2-) - echo "::error file=${file_line%%:*},line=${file_line#*:}::Whitespace issue: ${file_line}" + echo "Whitespace issue: ${file_line}" fi done <<< "$(git diff --check $base_commit ${{ github.sha }} | grep '^-[^-]')"