@geronimo use the non-interactive switch (no confirm) see zypper patch –help for more info and switches that can be used.
zypper patch –help