Skip to content

Commit

Permalink
Update sanity-check.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianboguszewski authored Jan 8, 2025
1 parent 85c2df7 commit 8e2b597
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/sanity-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
# Include the workflow file as a trigger for running all subprojects
if [[ "${{ github.event_name }}" == "pull_request" ]]; then
changed_files=$(git diff --name-only origin/master..HEAD)
if echo "$changed_files" | grep -q '.github/workflows/.*.yml'; then
if echo "$changed_files" | grep -q '.github/'; then
# Workflow file changed; run all subprojects
subproject_dirs=$(find demos notebooks -mindepth 1 -maxdepth 1 -type d ! -name utils | tr '\n' ' ')
else
Expand Down

0 comments on commit 8e2b597

Please sign in to comment.