mirror of
https://github.com/creyD/changelog_action.git
synced 2026-04-12 12:10:30 +02:00
Fixed bug with wrong branch selection
This commit is contained in:
@@ -12,7 +12,7 @@ runs:
|
||||
${{ github.action_path }}/entrypoint.sh
|
||||
env:
|
||||
INPUT_HEAD_REF: ${{ github.head_ref }}
|
||||
INPUT_REF: ${{ github.ref }}
|
||||
INPUT_BASE_REF: ${{ github.base_ref }}
|
||||
|
||||
branding:
|
||||
icon: "activity"
|
||||
|
||||
@@ -3,6 +3,4 @@
|
||||
# x would be for showing the commands before they are executed
|
||||
set -eux
|
||||
|
||||
echo $INPUT_HEAD_REF
|
||||
echo $INPUT_REF
|
||||
git log --oneline --decorate $INPUT_HEAD_REF..$INPUT_REF --format=%B -n 1
|
||||
git log --oneline --decorate $INPUT_BASE_REF..$INPUT_HEAD_REF --format=%B -n 1
|
||||
|
||||
Reference in New Issue
Block a user