I am using Azure DevOps pipelines and I am looking for a quick way (e.g. REST API) to find out if certain yaml template is being used by any pipelines or not, and if it does, to get the name of the pipelines.
The only option I am aware of is to go through each pipeline yaml config and search for the template in question, but this is not handy when you have to deal with lots of pipelines and templates.
I couldn't find any solution neither in the documentation nor online, so I was wondering if anybody have any tips for that?
Thanks in advance!
