|
@@ -13,7 +13,9 @@ jobs:
|
|
|
ALL_MSGS=""
|
|
ALL_MSGS=""
|
|
|
for i in ${{ join(github.event.commits.*.id, ' ') }}; do
|
|
for i in ${{ join(github.event.commits.*.id, ' ') }}; do
|
|
|
MSG=$(git --no-pager show -s --format='%h <b>%an</b>: %s' $i)
|
|
MSG=$(git --no-pager show -s --format='%h <b>%an</b>: %s' $i)
|
|
|
- ALL_MSGS="$ALL_MSGS$MSG"$'\n'
|
|
|
|
|
|
|
+ # From this link the newline character is: %0A
|
|
|
|
|
+ # https://github.community/t/set-output-truncates-multiline-strings/16852
|
|
|
|
|
+ ALL_MSGS="$ALL_MSGS$MSG%0A"
|
|
|
done
|
|
done
|
|
|
echo "::set-output name=COMMIT_MESSAGE::$ALL_MSGS"
|
|
echo "::set-output name=COMMIT_MESSAGE::$ALL_MSGS"
|
|
|
id: commit-message
|
|
id: commit-message
|