Gulf War I - Saddam fired Ballistic Missiles (Scuds) at Israel.
Recent Israel/Lebanon War - Hezbollah fired short range artillery rockets at Israel.
Gulf War I is a good counter example although Saddam made a shrewd calculation that if Israel retaliated it would undermine support for the collation among Arabs. He didn’t see he had much to lose since he already faced overwhelming force, it was a desparation gamble and Israel didn’t bite. (Actually, he had a free shot a Israel.)
Hezbollah is not a soveriegn state, but a cat’s paw for Iran.
Let’s modify that to no attack on an acknowledged nuclear power.