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 }} "