workflow-dispatch
workflow-dispatch copied to clipboard
Log a Warning/Annotation When a Workflow is Disabled and Pass The Step
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).