From ee1ab681050a57ffd092edb26d0c04b7616e6bb4 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Sat, 20 Aug 2022 21:38:24 -0600 Subject: [PATCH] updated action.yml --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 95913aa4..0e6a5f24 100644 --- a/action.yml +++ b/action.yml @@ -159,7 +159,7 @@ runs: - run: | # "Set base sha..." if [[ -n "${{ inputs.since }}" ]]; then - BASE_SHA=$(git log --format="%H" --date=local --since="${{ inputs.since }}" --reverse | head -1) + BASE_SHA=$(git log --format="%H" --date=local --since="${{ inputs.since }}" --reverse | head -n 1) echo "::set-output name=base_sha::$BASE_SHA" elif [[ -n "${{ inputs.base_sha }}" ]]; then echo "::set-output name=base_sha::${{ inputs.base_sha }}"