Skip to content

Commit

Permalink
CI: finding changed notebooks v2
Browse files Browse the repository at this point in the history
  • Loading branch information
mbackenkoehler committed Nov 13, 2023
1 parent d099f19 commit 6c6ce44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
id: find_changed
run: |
# Find changed notebooks in the last commit
changed_files=$(git diff --name-only ${{ github.sha }}^ ${{ github.sha }} | grep 'talktorial.ipynb$' || true)
changed_files=$(git diff --name-only ${{ github.event.before }}^ ${{ github.event.after }} | grep 'talktorial.ipynb$' || true)
echo "Changed notebooks: $changed_files"
echo "::set-output name=changed_notebooks::$changed_files"
Expand Down

0 comments on commit 6c6ce44

Please sign in to comment.