diff --git a/action.yml b/action.yml index 5d9f670..5b737f5 100644 --- a/action.yml +++ b/action.yml @@ -22,7 +22,7 @@ inputs: required: false verbose-logging: description: 'Enable verbose logging' - default: false + default: 'false' required: false runs: using: 'node20' diff --git a/src/main.ts b/src/main.ts index c72528f..4f8b02f 100644 --- a/src/main.ts +++ b/src/main.ts @@ -25,7 +25,8 @@ async function run(): Promise { core.getInput('notification-summary') || 'GitHub Action Notification' const notificationColor = core.getInput('notification-color') || '0b93ff' const timezone = core.getInput('timezone') || 'UTC' - const verboseLogging = core.getInput('verbose-logging') + const verboseLogging = + core.getInput('verbose-logging').toLowerCase() === 'true' const timestamp = moment() .tz(timezone) .format('dddd, MMMM Do YYYY, h:mm:ss a z')