I recently watched a video on YouTube - I think put out by SAAMI - that involved shooting, burning and dropping all sorts of ammo in lots of different ways. They can be ignited by gunfire but as mentioned it is the exception, not the rule.
We used to stick .22 cartridges into holes in a stump and shoot at them from 50 yards or so. We set a few off, but mostly just destroyed them.