From 2a600f743df74f6df62a8066b4deec2d51b5cc6e Mon Sep 17 00:00:00 2001 From: Adrian Boguszewski Date: Fri, 29 Nov 2024 17:04:31 +0100 Subject: [PATCH] Fixed changed subproject detection --- .github/workflows/sanity-check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sanity-check.yml b/.github/workflows/sanity-check.yml index 2444c96e..c9700da5 100644 --- a/.github/workflows/sanity-check.yml +++ b/.github/workflows/sanity-check.yml @@ -28,7 +28,7 @@ jobs: run: | if [[ "${{ github.event_name }}" == "pull_request" ]]; then # Get unique subproject directories from changed files in PR - subproject_dirs=$(git diff --name-only origin/master..HEAD | grep '^demos/' | xargs -I{} dirname "{}" | sort -u) + subproject_dirs=$(git diff --name-only origin/master..HEAD | grep '^demos/' | xargs -I{} dirname "{}" | sort -u ) else # For scheduled runs, process all subprojects subproject_dirs=$(find demos -type d -mindepth 1 -maxdepth 1 ! -name utils)