From a9675a04f459e2ab3cbf6bfd3d0f2eed6fe43fd7 Mon Sep 17 00:00:00 2001 From: Jacksonmills Date: Thu, 26 Oct 2023 07:56:48 -0500 Subject: [PATCH] ensures we continue even if grep returns a non-zero exit code --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4556d33476..901440b32f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -90,7 +90,7 @@ jobs: run: | set -x git fetch origin next:next - changes=$(git diff --name-only next...${{ github.sha }} | grep '^cli/') + changes=$(git diff --name-only next...${{ github.sha }} | grep '^cli/' || true) echo "Debug: Value of 'changes' variable: $changes" if [[ -n "$changes" ]]; then echo "Debug: Entering conditional block because 'changes' is non-empty."