in src/helpers/input.ts [38:51]
export function getOptionalBooleanInput(inputName: string): boolean {
const input = getOptionalStringInput(inputName);
if (!input) {
return false;
}
if (input.toLowerCase() === "true") {
return true;
} else if (input.toLowerCase() === "false") {
return false;
} else {
throw new Error(`Action input '${inputName}' must be a boolean value`);
}
}