From 010f8b8f3f15869146958160a26a1cf0cbd6ed24 Mon Sep 17 00:00:00 2001 From: Dmitry Gurovich Date: Fri, 19 Apr 2024 21:03:36 +0300 Subject: [PATCH] workflows --- .github/workflows/commit-notify.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/commit-notify.yml b/.github/workflows/commit-notify.yml index 8df4ec3..9fab3c0 100644 --- a/.github/workflows/commit-notify.yml +++ b/.github/workflows/commit-notify.yml @@ -36,8 +36,7 @@ jobs: EMAIL_BODY="Author: ${{ matrix.notif.commit.commit.author.name }} ${{ matrix.notif.commit.commit.author.email }} Message: ${{ matrix.notif.commit.commit.message }} Files: - ${{ join(matrix.notif.commit.files.*.filename, ' - ') }} + $( echo '${{ toJSON(matrix.notif.commit.files) }}' | jq --raw-output '.[].filename | select(. != null)' ) Commit: ${{ matrix.notif.commit.html_url }} "