How to keep pipeline files in a separate repository for azure devops pipeline?

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.


I am definitely no ADO expert but isn't the point of Pipelines that they go "hand-in-hand" with the codebase that they deploy, which is why they go into the same Repo?
Basically, Our Friends in Redmond have assumed that every Application will need to be deployed subtly differently from every other Application so, by default, the [unique] deployment pipeline for every Application "lives" with that Application.

Nothing like "Standardisation".