Only Congress has the power to declare war. If the President does something that provokes an enemy to declare war on the U.S., that pretty much neuters Congress' theoretical power OTOH, under the War Powers Act, the President can authorize military action to thwart an immediate military threat to American people and/or interests.
Accordingly, before the President so acts, he must notify congressional leadership and have their tacit approval, based on the Intelligence that prompts the President to act.
On the other hand, the Democrats in the House have recently demonstrated that they cannot be trusted to either act rationally or keep sensitive information secret.
The only conclusion to be drawn is that if anything bad happens it's Trump's fault. If all goes well, we won't hear about it again.