diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a1a6d811..be519098 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -31,7 +31,7 @@ jobs: steps: - name: get-changes id: get-changes - run: + 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 echo "infra_change=true" >> "$GITHUB_OUTPUT"