narodnik 5 лет назад
Родитель
Сommit
c72d13fcba
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      .github/workflows/matrix-commit-message.yml

+ 1 - 1
.github/workflows/matrix-commit-message.yml

@@ -11,7 +11,7 @@ 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 %an: %s' $i)
             MSG=$(git --no-pager show -s --format='%h %an: %s' $i)
-            ALL_MSGS="$ALL_MSGS$MSG\n"
+            ALL_MSGS="$ALL_MSGS$MSG"$'\n'
           done
           done
           echo "::set-output name=COMMIT_MESSAGE::$ALL_MSGS"
           echo "::set-output name=COMMIT_MESSAGE::$ALL_MSGS"
         id: commit-message
         id: commit-message