From 6c04472f9a83c8d9cb6709b8996e027a97f10e75 Mon Sep 17 00:00:00 2001 From: Maciej Barelkowski Date: Mon, 18 Nov 2024 10:47:29 +0100 Subject: [PATCH] ci: send slack message as stringified json --- .github/workflows/SEND_MESSAGE.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/SEND_MESSAGE.yml b/.github/workflows/SEND_MESSAGE.yml index 269c1fd..35d1812 100644 --- a/.github/workflows/SEND_MESSAGE.yml +++ b/.github/workflows/SEND_MESSAGE.yml @@ -27,5 +27,5 @@ jobs: payload: | channel: ${{ secrets.SLACK_CHANNEL_ID }} text: Community health report - blocks: ${{ fromJson(steps.report.outputs.message).blocks }} + blocks: ${{ toJson(fromJson(steps.report.outputs.message).blocks) }} unfurl_links: ${{ fromJson(steps.report.outputs.message).unfurl_links }}