Group actions on algebras and the graded Lie structure of Hochschild cohomology