mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-09 14:48:08 -05:00
remove redundant stuff from commit output in github workflow action
This commit is contained in:
4
.github/workflows/matrix-commit-message.yml
vendored
4
.github/workflows/matrix-commit-message.yml
vendored
@@ -13,9 +13,7 @@ jobs:
|
||||
ALL_MSGS=""
|
||||
for i in ${{ join(github.event.commits.*.id, ' ') }}; do
|
||||
MSG=$(git --no-pager show -s --format='%h <b>%an</b>: %s' $i)
|
||||
# From this link the newline character is: %0A
|
||||
# https://github.community/t/set-output-truncates-multiline-strings/16852
|
||||
ALL_MSGS="$ALL_MSGS$MSG<br>%0A"
|
||||
ALL_MSGS="$ALL_MSGS$MSG<br>"
|
||||
done
|
||||
echo "::set-output name=COMMIT_MESSAGE::$ALL_MSGS"
|
||||
id: commit-message
|
||||
|
||||
Reference in New Issue
Block a user