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