From e752a697601fb4ea39d19d07e8ad2faf80f47ab8 Mon Sep 17 00:00:00 2001 From: Conrad Date: Wed, 5 May 2021 23:57:54 +0200 Subject: [PATCH] Fixed bug where the action would run in the wrong directory --- entrypoint.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index 09a5e77..f2a66ac 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -3,4 +3,6 @@ # x would be for showing the commands before they are executed set -eux +cd "$GITHUB_ACTION_PATH" + git log --oneline --decorate $INPUT_BASE_REF..$INPUT_HEAD_REF --format=%B -n 1