فهرست منبع

github workflow working

narodnik 5 سال پیش
والد
کامیت
eb4ea06144
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      .github/workflows/matrix-commit-message.yml

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

@@ -11,7 +11,7 @@ jobs:
           ALL_MSGS=""
           for i in ${{ join(github.event.commits.*.id, ' ') }}; do
             MSG=$(git --no-pager show -s --format='%h %an: %s' $i)
-            ALL_MSGS="$ALL_MSGS\n$MSG"
+            ALL_MSGS="$ALL_MSGS$MSG\n"
           done
           echo "::set-output name=COMMIT_MESSAGE::$ALL_MSGS"
         id: commit-message
@@ -23,7 +23,7 @@ jobs:
           status: 'OK'
           user: 'narodnik'
           password: ${{ secrets.MATRIX_PASSWORD }}
-          message: The selected <b>color</b> is <i>${{ steps.commit-message.outputs.COMMIT_MESSAGE }}</i>
+          message: ${{ steps.commit-message.outputs.COMMIT_MESSAGE }}
           #- name: Send message to test channel
           #  id: matrix-chat-message
           #  uses: fadenb/matrix-chat-message@v0.0.6