updated debug message.

This commit is contained in:
Tonye Jack 2022-09-02 18:40:51 -06:00
parent 3a8cb18589
commit dcd088713a

View file

@ -45,7 +45,7 @@ else
CURRENT_SHA=$INPUT_SHA; exit_status=$?
fi
echo "Verifying the commit SHA: $CURRENT_SHA"
echo "::debug::Verifying the current commit SHA: $CURRENT_SHA"
git rev-parse --quiet --verify "$CURRENT_SHA^{commit}" 1>/dev/null 2>&1 && exit_status=$? || exit_status=$?
if [[ $exit_status -ne 0 ]]; then
@ -81,7 +81,7 @@ if [[ -z $GITHUB_BASE_REF ]]; then
echo "::debug::Target branch: $TARGET_BRANCH"
fi
echo "Verifying the commit SHA: $PREVIOUS_SHA"
echo "::debug::Verifying the previous commit SHA: $PREVIOUS_SHA"
git rev-parse --quiet --verify "$PREVIOUS_SHA^{commit}" 1>/dev/null 2>&1 && exit_status=$? || exit_status=$?
if [[ $exit_status -ne 0 ]]; then
@ -114,7 +114,7 @@ else
echo "::debug::Target branch: $TARGET_BRANCH"
fi
echo "::debug::Verifying commit SHA..."
echo "::debug::Verifying the previous commit SHA: $PREVIOUS_SHA"
git rev-parse --quiet --verify "$PREVIOUS_SHA^{commit}" 1>/dev/null 2>&1 && exit_status=$? || exit_status=$?
if [[ $exit_status -ne 0 ]]; then