Thanks for your reply, I’m currently facing this situation:
In Azure DevOps, I created a build validation for a branch, so that when a PR is created targeting this brach, it should automatically trigger a pipeline.
However, the YAML pipeline is stored in another repository.
Here’s my setup:
Repo A: Common_product
PR: Yasser Akasbi proposes to merge DPB-34362_NRT_AUTO_TEST into NRT_AUTO_TARGET_TEST
Branch policies are configured on NRT_AUTO_TARGET_TEST
It calls a build pipeline named NRT AUTOMATION
Repo B: templates-snowflake
Pipeline: build-validation-NRT
Branch: NRT_AUTO
The problem is that when I create the PR, I see in the PR overview:
“1 required check not yet run”, and the build remains in queued state (it doesn’t start automatically).
I tested the same setup in an older repo, but when the YAML is in the main branch, it works fine. When I move it to a feature branch, I get the same problem again.
why did just work in when the pipeline is in main and not in another branch it is a limitation in azure devops or something like that ?