Fixed bug with wrong branch selection

This commit is contained in:
2021-05-05 23:53:37 +02:00
parent ef93630c2a
commit 3fc2be6b1e
2 changed files with 2 additions and 4 deletions

View File

@@ -12,7 +12,7 @@ runs:
${{ github.action_path }}/entrypoint.sh ${{ github.action_path }}/entrypoint.sh
env: env:
INPUT_HEAD_REF: ${{ github.head_ref }} INPUT_HEAD_REF: ${{ github.head_ref }}
INPUT_REF: ${{ github.ref }} INPUT_BASE_REF: ${{ github.base_ref }}
branding: branding:
icon: "activity" icon: "activity"

View File

@@ -3,6 +3,4 @@
# x would be for showing the commands before they are executed # x would be for showing the commands before they are executed
set -eux set -eux
echo $INPUT_HEAD_REF git log --oneline --decorate $INPUT_BASE_REF..$INPUT_HEAD_REF --format=%B -n 1
echo $INPUT_REF
git log --oneline --decorate $INPUT_HEAD_REF..$INPUT_REF --format=%B -n 1