From f1067a2c34638e9686424f10de7436a527840a3a Mon Sep 17 00:00:00 2001 From: "C.J. May" Date: Tue, 30 May 2023 10:10:25 -0500 Subject: [PATCH] Fix non-existent commit reference --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 4eda4df..4441b7e 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -77,7 +77,7 @@ if [[ "${GITHUB_EVENT_NAME}" == "pull_request" ]]; then base_sha=$(git rev-parse "refs/remotes/origin/${GITHUB_BASE_REF}") head_sha=$(git rev-list --no-merges -n 1 refs/remotes/pull/${GITHUB_REF_NAME}) - command+=$(arg '--log-opts "%s"' "--no-merges --first-parent ${base_sha}^..${head_sha}") + command+=$(arg '--log-opts "%s"' "--no-merges --first-parent ${base_sha}...${head_sha}") else command+=$(arg '--source %s' "${INPUT_SOURCE}") command+=$(arg '--no-git' "${INPUT_NO_GIT}")