Reducing the harm of a purposeful, voluntary action -- maybe just to make it personally palatable to your own morality or mission -- doesn't seem to meet the threshold for a "good deed".
Less of a bad deed, sure. But given that they still did the very dangerous thing, no not a good deed.
The context I replied to implied that tracking a bomber by a warning they gave would be "punishing" a "good deed". That seems dubious.