We are using a forking workflow. If a user, from his fork, wants to merge something into the master repository, I want to validate the source of his code.
For example, if he wants to merge his code in the branch 'releases/3.0.2/', I want to make sure that his branch 'Feature_x_y_z' was branched from the branch 'releases/3.0.2/'.
Is there a way to check from which branch the pull request's source branch was created from?