I am using github and jenkins pipeline.
I have two repositories A and B. They are both part of a larger project.
I create a branch for both A and B with the same name: my_branch.
Now I create two PRs:
PR A is sourced from A\my_branch
PR B is sourced from B\my_branch
For PR A, I have any commit to A trigger a pull of A\my_branch and B\my_branch for building.
Likewise for PR B I have any commit to B trigger a pull of A\my_branch and B\my_branch for building.
The problem:
If I make a change to PR A, I also need PR B to build. That means that PR A needs to know about, or find, PR B and tell it to build again.
How can I do this? How can PR A know about PR B and how can it trigger a build?