Validation is always executed on the active branch, which is why it is important to make sure that the right branch is active before performing the action. Running validation process is present as a job at Remote Jobs View. Here, it is also indicated that the validation has been executed on which branch. As per the example shows below the validation has been executed on the active task branch.