Congress is passing a stopgap funding bill ahead of Friday's deadline to prevent a partial government shutdown.