If a Jew does one of three labors, lighting the fire, placing the dough in the oven, or throwing a twig into the fire, the bread is not regarded as bread of a non-Jew, as the Shulchan Aruch wrote. Rav Yosef Zundel of Salant would throw a twig into a non-Jew’s oven in Volozhin, to save its Jews.