From 6d608224680cc7d8dbe04efb70e08b4bbdd9c7d4 Mon Sep 17 00:00:00 2001 From: Shubham Tiwari Date: Tue, 3 Sep 2024 20:19:15 +0530 Subject: [PATCH] chore: check git diff without spaces --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fa1499f91..a4428433a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -47,7 +47,7 @@ jobs: - name: Show git status and fail on diff run: | git status - git diff + git diff --ignore-all-space test -z "$(git status --porcelain)" - name: Remove pom file # Otherwise, the Sonar action fails and recommends using the Maven plugin