From 239f92a8dc7c658c7b7f7bc1a49fe481900ec5b0 Mon Sep 17 00:00:00 2001 From: Jonathan Innis Date: Tue, 12 Dec 2023 18:01:47 -0800 Subject: [PATCH] ci: Fix notify message for slack notification (#5311) --- .github/actions/e2e/slack/send-message/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/e2e/slack/send-message/action.yaml b/.github/actions/e2e/slack/send-message/action.yaml index bb93072a4d99..867698affa56 100644 --- a/.github/actions/e2e/slack/send-message/action.yaml +++ b/.github/actions/e2e/slack/send-message/action.yaml @@ -15,5 +15,5 @@ runs: URL: ${{ inputs.url }} MESSAGE: ${{ inputs.message }} run: | - JSON='{"message": "$MESSAGE"}' + JSON="{'message': '$MESSAGE'}" curl -X POST -H 'Content-Type: application/json' --data "${JSON}" "$(printf "$URL" | tr -d "\n")" \ No newline at end of file