From afe81fcf69d9e4087feb2897407cbe051539d713 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Fri, 30 Aug 2024 17:14:02 +0100 Subject: [PATCH] Adding condition to make sure pro and base commit aren't identical when erroring. --- .github/workflows/budibase_ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/budibase_ci.yml b/.github/workflows/budibase_ci.yml index 1b236caab5..4c5cc94d2b 100644 --- a/.github/workflows/budibase_ci.yml +++ b/.github/workflows/budibase_ci.yml @@ -240,7 +240,7 @@ jobs: any_commit=$(git log --no-merges $base_commit_excluding_merges...$pro_commit) - if [ -n "$any_commit" ]; then + if [ -n "$any_commit" ] && [ "$base_commit" != "$pro_commit" ]; then echo $any_commit echo "An error occurred: "