Allow restarting only on a specific branch