remove unused code
This commit is contained in:
parent
ef1134dca7
commit
05f9744e41
@ -66,9 +66,6 @@ if [[ -z $GITHUB_BASE_REF ]]; then
|
|||||||
if [[ -z "$PREVIOUS_SHA" || "$PREVIOUS_SHA" == "0000000000000000000000000000000000000000" ]]; then
|
if [[ -z "$PREVIOUS_SHA" || "$PREVIOUS_SHA" == "0000000000000000000000000000000000000000" ]]; then
|
||||||
PREVIOUS_SHA=$(git rev-parse "$(git branch -r --sort=-committerdate | head -1)")
|
PREVIOUS_SHA=$(git rev-parse "$(git branch -r --sort=-committerdate | head -1)")
|
||||||
fi
|
fi
|
||||||
if [[ "$INPUT_SHA" == "$PREVIOUS_SHA" ]]; then
|
|
||||||
PREVIOUS_SHA=$(git rev-parse "$INPUT_SHA^1")
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ "$PREVIOUS_SHA" == "$CURRENT_SHA" ]]; then
|
if [[ "$PREVIOUS_SHA" == "$CURRENT_SHA" ]]; then
|
||||||
INITIAL_COMMIT="true"
|
INITIAL_COMMIT="true"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user