1
0

Debug output

This commit is contained in:
2026-04-09 20:48:24 +02:00
parent a9ea3670cc
commit 8e22de3f8c

View File

@@ -32,10 +32,15 @@ runs:
if [ $hasChanges = false ]; then
diff=$(git diff --name-only $baseCommit HEAD)
IFS=',' read -r -a paths <<< "${{ inputs.paths }}"
echo "Diff between $baseCommit and HEAD:"
echo "$diff"
IFS=',' read -r -a paths <<< "${{ inputs.paths }}"
for path in "${paths[@]}"; do
echo "Checking for changes in path: $path"
if [[ $diff == $path* ]]; then
echo "Changes detected in path: $path"
hasChanges=true
break
fi