Is there any way to keep the pipeline file separately in a different repo than the one in source code?
So that, we can maintain all the pipelines related data in a separate repository but the pipeline should detect changes from the main repo.
Example:
I have a repo my-code-base and instead of creating pipeline in my-code-base, I will create a separate repo my-infra and save the pipeline files there.
But in the pipeline I should set the code should be picked from my-code-base.
Please suggest.
If it works, we can save all the azure devops CI/CD pipelines in my organization to be maintained separately.