Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jacoblee93 committed Jul 29, 2024
1 parent b464d86 commit b24a160
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/validate_new_notebooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,11 @@ jobs:
- name: Validate new notebooks
run: |
new_notebooks=$(echo ${{ steps.changed-files.outputs.added_files }} | tr ' ' '\n' | grep '\.ipynb$')
echo "New notebooks: $new_notebooks"
if [ -n "$new_notebooks" ]; then
for notebook in $new_notebooks; do
yarn notebook:validate "$notebook"
done
else
echo "No new notebooks to validate."
fi

0 comments on commit b24a160

Please sign in to comment.