Skip to content

Commit

Permalink
Update strip-python-notebooks.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vsyrgkanis authored Jul 22, 2024
1 parent 380ecd5 commit ab0de70
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/strip-python-notebooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,10 @@ jobs:
# Check if directory exists
if [ -d "$dir" ]; then
echo "Processing directory: $dir"
git diff "$dir"/*.ipynb "$dir"/*.irnb "$dir"/*.Rmd
if git diff --quiet "$dir"/*.ipynb "$dir"/*.irnb "$dir"/*.Rmd; then
echo "No changes were found"
else
echo "Found changes in directory: $dir"
echo "changed=true" >> $GITHUB_OUTPUT
break 1
Expand Down

0 comments on commit ab0de70

Please sign in to comment.