Skip to content

Commit

Permalink
Fix non-existent commit reference (#67)
Browse files Browse the repository at this point in the history
Fixes the bug regression described in #66
  • Loading branch information
lawndoc authored May 30, 2023
1 parent 4410bd5 commit 5c3e70f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand Down

0 comments on commit 5c3e70f

Please sign in to comment.