Skip to content

Commit 5c3e70f

Browse files
authored
Fix non-existent commit reference (#67)
Fixes the bug regression described in #66
1 parent 4410bd5 commit 5c3e70f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entrypoint.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ if [[ "${GITHUB_EVENT_NAME}" == "pull_request" ]]; then
7777

7878
base_sha=$(git rev-parse "refs/remotes/origin/${GITHUB_BASE_REF}")
7979
head_sha=$(git rev-list --no-merges -n 1 refs/remotes/pull/${GITHUB_REF_NAME})
80-
command+=$(arg '--log-opts "%s"' "--no-merges --first-parent ${base_sha}^..${head_sha}")
80+
command+=$(arg '--log-opts "%s"' "--no-merges --first-parent ${base_sha}...${head_sha}")
8181
else
8282
command+=$(arg '--source %s' "${INPUT_SOURCE}")
8383
command+=$(arg '--no-git' "${INPUT_NO_GIT}")

0 commit comments

Comments
 (0)