I have a workflow which is invoked as part of a pipeline. The 1st step in the pipeline is “Approval” from appropriate user group and 2nd step is to run that workflow.
Now I want to make sure that no one could deploy the workflow outside the pipeline (i.e. without approval). Is it possible to restrict workflow access so that it can only be run as part of a pipeline and not without it (pipeline)?
Alternatively, is it possible to define a workflow in-line inside a pipeline? This would make it impossible to deploy it outside that pipeline, which is exactly what I need.