diff --git a/.github/workflows/sanity-check.yml b/.github/workflows/sanity-check.yml index 0f94b016..81f0df8c 100644 --- a/.github/workflows/sanity-check.yml +++ b/.github/workflows/sanity-check.yml @@ -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