Group actions on injective spaces and Helly graphs