From 6b2df9babea80a29e52a2e8b13367c6b32869b1e Mon Sep 17 00:00:00 2001 From: polyfloyd Date: Fri, 2 Oct 2026 10:23:50 +0200 Subject: [PATCH] Respect convert_markdown setting (#330) --- action.yml | 1 + main.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 38a25422..ea0d3bb2 100644 --- a/action.yml +++ b/action.yml @@ -54,6 +54,7 @@ inputs: convert_markdown: description: Convert body from Markdown to HTML (set content_type input as text/html too) required: false + default: "false" attachments: description: Files that will be added to mail message attachments (separated with comma) required: false diff --git a/main.js b/main.js index 9751990a..0819edaf 100644 --- a/main.js +++ b/main.js @@ -143,7 +143,7 @@ async function main() { const replyTo = core.getInput("reply_to", { required: false }); const inReplyTo = core.getInput("in_reply_to", { required: false }); const attachments = core.getInput("attachments", { required: false }); - const convertMarkdown = core.getInput("convert_markdown", { + const convertMarkdown = core.getBooleanInput("convert_markdown", { required: false, }); const ignoreCert = core.getInput("ignore_cert", { required: false });