diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a0bab7503..0f78faa02 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -33,8 +33,7 @@ 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 ]] - then + if [[ "${#modified_infra_files[@]}" -ge 1 ]]; then echo "infra_change=true" >> $GITHUB_OUTPUT else echo "infra_change=false" >> $GITHUB_OUTPUT