From 7de6088904f1e9e30d3a6ab6b2d6815161ce5789 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Sun, 25 Sep 2022 09:23:05 -0600 Subject: [PATCH] Updated check --- diff-sha.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/diff-sha.sh b/diff-sha.sh index 73e17e43bbd..36268db4a3c 100644 --- a/diff-sha.sh +++ b/diff-sha.sh @@ -64,7 +64,7 @@ if [[ -z $GITHUB_BASE_REF ]]; then if [[ -z $INPUT_BASE_SHA ]]; then PREVIOUS_SHA="" - if [[ "$GITHUB_EVENT_FORCED" != "true" ]]; then + if [[ "$GITHUB_EVENT_FORCED" == "false" ]]; then PREVIOUS_SHA=$GITHUB_EVENT_BEFORE fi