diff --git a/src/core/action-handler.ts b/src/core/action-handler.ts index c84362c..1a4304f 100644 --- a/src/core/action-handler.ts +++ b/src/core/action-handler.ts @@ -11,8 +11,8 @@ export async function runAction(): Promise { required: true }) const jsonFilePath = core.getInput('json-file-path') - const summary = core.getInput('summary') - const pullRequest = core.getInput('pull-request') + const summary = core.getInput('summary')?.toLowerCase() !== 'false' + const pullRequest = core.getInput('pull-request')?.toLowerCase() === 'true' const templateSource = readTemplate(templatePath) const jsonData = jsonFilePath ? readJsonFile(jsonFilePath) : {}