add logging
All checks were successful
renovate / renovate (push) Successful in 57s

This commit is contained in:
2025-12-01 21:51:36 -06:00
parent 0be89f97f4
commit c53716e5f5

View File

@@ -66,14 +66,19 @@ jobs:
GIT_STATUS=$(git status --porcelain)
CHANGED_DIR=()
echo ">> Checking for changes .."
echo "$GIT_STATUS"
if $GIT_STATUS | grep -q .; then
echo ">> Changes detected"
echo "$GIT_STATUS"
for path in $GIT_STATUS; do
CHANGED_DIR+=("echo "$path" | awk -F '/' '{print $4}' ")
done
echo ">> Changes Directories:"
echo "$(printf "%s\n" "$CHANGED_DIR" | sort -u)"
echo "changes-detected=true" >> $GITEA_OUTPUT
echo "changed-dir=$(printf "%s\n" "$CHANGED_DIR" | sort -u)" >> $GITEA_OUTPUT
else