Can I define a rule for accepting pull requests in a branch only if the commits were previously merged in a "test" branch?
For example in our organization we have a "master" branch, a "test" branch and a diffrent branch for every bugfix (let's address them with "a", "b"...).
I want to create a rule so you are not allowed to create or aprove a pull request of brances "a" or "b"... to "master" if all the commits contained in branches "a" or "b"... are not contained yet in the "test" branch. (meaning that they were not tested)
Can you help me?