We are automatically running tests on feature branches. After the feature is complete and tests pass, it is merged into the main branch.
But now we have to wait for tests to run on master, before deploying it (manually).
So, is there a way to automatically run tests on the would-be merge commit for the Feature Branch, before it is merged to master?
If that were possible, then we would know that tests on master will pass after the Feature Branch is merged.