The Republican-controlled U.S. House of Representatives on Friday passed a $1.2 trillion bill to keep the government funded through September, leaving the Democratic-majority Senate hours to act before a partial government shutdown deadline at midnight.