(WASHINGTON) — The House has passed a short-term ending bill to prevent a federal shutdown when the budget year ends Sept. 30. The bipartisan measure, approved by a 301-123 vote, would give lawmakers until the Thanksgiving break to negotiate and pass $1.4 trillion worth of annual agency spending bills. The Senate is scheduled to approve the stopgap measure next week. The agency spending bills would fill in the details of this summer’s budget and debt agreement between President Donald Trump and House Speaker Nancy Pelosi. The House-passed measure also extends some expiring federal programs and replenishes Trump’s bailout of farmers who’ve been hurt by the U.S.