From 6aa0ae3b2cc6584d358fe8609d82c37bf306db2c Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Thu, 25 Aug 2022 21:46:41 -0600 Subject: [PATCH] fix: bug with dir name --- .github/workflows/test.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 402127b3..96fa125b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -296,12 +296,21 @@ jobs: id: changed-files-dir-names uses: ./ with: + base_sha: d1c0ee4 + sha: 4d04215 dir_names: "true" - name: Show output run: | echo '${{ toJSON(steps.changed-files-dir-names.outputs) }}' shell: bash + - name: Check dir_names output + if: "!contains(steps.changed-files-dir-names.outputs.all_changed_files, 'test')" + run: | + echo "Invalid output: Expected to include (test) got (${{ steps.changed-files-dir-names.outputs.all_changed_files }})" + exit 1 + shell: + bash - name: Run changed-files since 2022-08-19 id: changed-files-since uses: ./