workflow-dispatch icon indicating copy to clipboard operation
workflow-dispatch copied to clipboard

Log a Warning/Annotation When a Workflow is Disabled and Pass The Step

Open StephenMP opened this issue 3 years ago • 0 comments

The current behavior of the action when a workflow being triggered is disabled is to fail the step, and thus fail the action. I feel it would be better, instead, to pass the step and log out a warning/annotation to state that the workflow being called is disabled.

There are instances where we may intentionally disable a workflow, but we will want to see the calling workflow pass (essentially to signify that yes, what you are doing in Workflow A is correct, it's just that Workflow B is disabled).

StephenMP avatar Feb 25 '22 21:02 StephenMP