From aaab0858e2960105cd69406f2e00c5b3d9fe2ff5 Mon Sep 17 00:00:00 2001 From: jacoblee93 Date: Mon, 29 Jul 2024 15:33:07 -0700 Subject: [PATCH] Fix --- .github/workflows/validate_new_notebooks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate_new_notebooks.yml b/.github/workflows/validate_new_notebooks.yml index 2079d7f661de..9bd7ae6b153a 100644 --- a/.github/workflows/validate_new_notebooks.yml +++ b/.github/workflows/validate_new_notebooks.yml @@ -38,7 +38,7 @@ jobs: uses: tj-actions/changed-files@v44 - name: Validate new notebooks run: | - new_notebooks=$(echo ${{ steps.changed-files.outputs.added_files }} | tr ' ' '\n' | grep '\.ipynb$') + new_notebooks=$(echo '${{ steps.changed-files.outputs.added_files }}' | tr ' ' '\n' | grep '\.ipynb$' || true) echo "New notebooks: $new_notebooks" if [ -n "$new_notebooks" ]; then for notebook in $new_notebooks; do