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) }}