We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3119dc4 commit 5297669Copy full SHA for 5297669
entrypoint.sh
@@ -54,7 +54,7 @@ fi
54
echo -e "\n[INFO] Target branch: ${BRANCH}"
55
56
# Enhanced branch handling with proper remote synchronization
57
-if [[ -n "${INPUT_TARGET_BRANCH}" || "${INPUT_ADD_TIMESTAMP}" == "true" ]]; then
+if [[ -n "${INPUT_TARGET_BRANCH}" || ("${INPUT_ADD_TIMESTAMP}" == "true" && -n ${FILES_CHANGED}) ]]; then
58
# Fetch latest changes from remote
59
echo "[INFO] Fetching latest changes from remote..."
60
git fetch origin || {
0 commit comments