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
|
${{ 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"
|
||||||
|
|||||||
@@ -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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user