Making an animation state exist if either of multiple conditions is true

I have an attack animation state that I would like to exit if either exit time is reach either a trigger is triggered, but not both. What would be the way to go about that ?

Create a separate transition for each condition of the OR.