Have you ever struggled with Azure Devops Pipelines?
How about getting a pipeline trigger by another pipeline when it finishes?
Yup, me too, and today I found out the problem.
Make sure that you introduce these two pipelines(the yaml files) first in the default branch. After that it will work on other branches too.
Cheers!