Skip to content

use_guided_failure resolves as undefined when false is explicitly passed #334

Description

@npereira-qontigo

Describe the bug
use_guided_failure resolves as undefined when false is explicitly passed

To Reproduce
Steps to reproduce the behavior:
Octopus project setting: Default Failure Mode set as "Use the default setting from the target environment (default)"

Workflow: configure the action explicitly setting use_guided_failure as "false"

Action: Trigger any deployment in that project which you are sure it will fail

Results: the deployment waits for intervention in Octopus

Expected behavior
The deployment fails right away

Additional context
https://github.com/OctopusDeploy/deploy-release-action/blob/main/src/input-parameters.ts#L51 it might be resolving as undefined when false is passed
Maybe the || could be changed to ??

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions