Conversation
…riggers When triggered by cron schedule, `inputs.dry_run` and `inputs.force_scan` are empty strings (not "true"/"false"), causing the validation step to fail with "Invalid dry_run value". Use `|| 'false'` fallback expressions to default boolean inputs when not provided by workflow_dispatch. https://claude.ai/code/session_017SXfmbZDnAhbfd8umPzX5D
|
codebot hunt |
|
Claude finished @lgallard's task —— View job 🔍 Bug Hunt Analysis
|

Summary
Fixed the feature-discovery workflow to properly handle boolean inputs when triggered by schedule events, where input parameters are not provided and default to empty strings.
Key Changes
dry_runinput to default to'false'when empty:${{ inputs.dry_run || 'false' }}force_scaninput to default to'false'when empty:${{ inputs.force_scan || 'false' }}Implementation Details
When the workflow is triggered by a schedule event (as opposed to manual dispatch), the
inputs.dry_runandinputs.force_scanparameters are not provided and evaluate to empty strings. This caused the subsequent boolean validation checks to fail. By providing explicit'false'defaults using the||operator, the workflow now correctly handles both manual and scheduled triggers without validation errors.https://claude.ai/code/session_017SXfmbZDnAhbfd8umPzX5D