Will the long leg of an option spread be automatically exercised before expiration if the short is assigned?

If the assignment takes place prior to expiration, neither IBKR nor the clearinghouse will act to exercise a long option held in the account as neither party can presume the intentions of the long option holder and the exercise of the long option prior to expiration is likely result in the forfeiture of time value which could be realized via the sale of the option.

Powered by IBot
Considerations for exercising call options prior to expiration
What happens if I am unable to meet the margin requirement on a stock delivery resulting from an option exercise or assignment?
Does IBKR exercise my long option if I am assigned early?
Will the long leg of an option spread be automatically exercised at expiration if the short is assigned?