remove unused code

This commit is contained in:
Tonye Jack 2022-09-24 19:33:47 -06:00
parent ef1134dca7
commit 05f9744e41

View File

@ -66,9 +66,6 @@ if [[ -z $GITHUB_BASE_REF ]]; then
if [[ -z "$PREVIOUS_SHA" || "$PREVIOUS_SHA" == "0000000000000000000000000000000000000000" ]]; then
PREVIOUS_SHA=$(git rev-parse "$(git branch -r --sort=-committerdate | head -1)")
fi
if [[ "$INPUT_SHA" == "$PREVIOUS_SHA" ]]; then
PREVIOUS_SHA=$(git rev-parse "$INPUT_SHA^1")
fi
if [[ "$PREVIOUS_SHA" == "$CURRENT_SHA" ]]; then
INITIAL_COMMIT="true"