From 1462fd9974a84850e40602af0ff1305d8297c1d7 Mon Sep 17 00:00:00 2001 From: Naka Masato Date: Fri, 5 Jan 2024 10:08:11 +0900 Subject: [PATCH] fix if condition --- .github/workflows/changed-files.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/changed-files.yml b/.github/workflows/changed-files.yml index 142803fb..edc95e79 100644 --- a/.github/workflows/changed-files.yml +++ b/.github/workflows/changed-files.yml @@ -62,7 +62,7 @@ jobs: do-sth-on-changed-dirs: runs-on: ubuntu-latest - if: ${{ needs.get-changed-dirs.outputs.changed_dirs != '' }} # Without it, the strategy parser will fail if the changed_directories is empty. + if: ${{ needs.get-changed-dirs.outputs.changed_dirs != '[]' }} # Without it, the strategy parser will fail if the changed_directories is empty. strategy: matrix: dir: ${{ fromJson(needs.get-changed-dirs.outputs.changed_dirs) }}