|
|
@@ -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
|