From 7768433f923c8624119484fe9346cbe9125aea86 Mon Sep 17 00:00:00 2001 From: Megan Davidson Date: Tue, 21 Nov 2023 09:38:35 +1300 Subject: [PATCH] fix: formatting --- .github/workflows/test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fcfddb47..a0bab750 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -33,11 +33,11 @@ jobs: id: get-changes run: mapfile -d '' modified_infra_files < <(git diff --name-only -z ${{ github.event.before }} ${{ github.event.after }} -- "infra/*") - if [ "${#modified_infra_files[@]}" -ge 1 ] + if [[ "${#modified_infra_files[@]}" -ge 1 ]] then - echo "infra_change=true" >> $GITHUB_OUTPUT + echo "infra_change=true" >> $GITHUB_OUTPUT else - echo "infra_change=false" >> $GITHUB_OUTPUT + echo "infra_change=false" >> $GITHUB_OUTPUT fi - name: Echo test needs