The Senate gave final approval to a stopgap spending bill Thursday to avert a government shutdown and keep government agencies open through Dec. 20 as negotiators work on full government funding for the fiscal year.

The bill passed on a bipartisan 74-20 vote, with all opposing votes coming from Republican senators. The bill now heads to President Trump's desk to be signed before the government runs out of spending authority at 12:01 a.m. Friday.

The bill allocates enough funding to keep the government open for a month as lawmakers finish work on $1.4 trillion in appropriations for fiscal 2020, which began Oct. 1. The measure also funds initiatives like the U.S. Census collection process, an increase in military pay, and a three-month extension of controversial surveillance programs authorized under the Foreign Intelligence Surveillance Act.

Lawmakers are hope to finish work on appropriations before year's end.

The bills are being held up by, among other things, disagreements over the White House's request for an additional $8.6 billion for a U.S.-Mexico border wall. Senate Minority Leader Chuck Schumer didn't mince words when it comes to his disagreements with the president.

“The appropriations process can go down one of two paths. On the first path, President Trump stays out of our way and gives Congress the space to work together and find an agreement,” he said. "On the second path, President Trump stomps his feet, makes impossible demands, and prevents his party, the Republicans, from coming to a fair arrangement.”

President Trump is expected to sign the stopgap measure, a White House source told CBS News.