President Biden on Thursday signed a temporary spending bill a day before a potential government shutdown, pushing a fight with congressional Republicans over the federal budget into the new year, as wartime aid for Ukraine and Israel remains stalled.