From 26fdd47601378f1902899a9b936932c9d3752cdd Mon Sep 17 00:00:00 2001 From: "Jason C. Leach" Date: Fri, 25 Oct 2024 09:01:02 -0700 Subject: [PATCH] fix: pipe logic Signed-off-by: Jason C. Leach --- .github/workflows/actions/early-exit-check/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/actions/early-exit-check/action.yml b/.github/workflows/actions/early-exit-check/action.yml index 38b9f59b0..9096953ed 100644 --- a/.github/workflows/actions/early-exit-check/action.yml +++ b/.github/workflows/actions/early-exit-check/action.yml @@ -28,7 +28,7 @@ runs: diff_output=$(git diff --name-only ${parent_ref}..${child_ref}) # change_count=$(echo "$diff_output" | grep -E '^(app/.*)|(.yarn/.*)|(.github/workflows/.*)' | wc -l | awk '{$1=$1};1') file_names=$(echo "$diff_output" | grep -E '^(blarb/.*)' || true) - echo "files = $file_names" + echo "file_names = $file_names" change_count=$(echo "$file_names" | wc -l | awk '{$1=$1};1') echo "$change_count files changed in app, .yarn, or .github/workflows"