3
0
Fork 0
mirror of https://github.com/tj-actions/changed-files synced 2025-02-19 05:23:48 +00:00

Updated the current sha

This commit is contained in:
Tonye Jack 2022-12-13 14:13:22 -07:00
parent 49ac42e025
commit 2405ae6c59

View file

@ -203,6 +203,10 @@ else
CURRENT_SHA=$(git rev-list --no-merges -n 1 HEAD 2>&1) && exit_status=$? || exit_status=$?
else
CURRENT_SHA=$INPUT_SHA; exit_status=$?
if [[ "$CURRENT_SHA" == "$GITHUB_EVENT_PULL_REQUEST_HEAD_SHA" ]]; then
CURRENT_SHA=$(git rev-list --no-merges -n 1 HEAD 2>&1) && exit_status=$? || exit_status=$?
fi
fi
fi