diff --git a/index.js b/index.js index 6a5333a..423ff75 100644 --- a/index.js +++ b/index.js @@ -92,7 +92,7 @@ Toolkit.run(async (tools) => { }); async function exitWithError(tools, exitType, message) { - if (tools.inputs.add_comment) { + if (tools.inputs.add_comment == "true") { if (process.env.GITHUB_TOKEN) { await tools.github.issues.createComment({ ...tools.context.issue,