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