See the paper [Self-maps of homogeneous spaces](https://doi.org/10.1007/BF01388861) by Srinivas and Paranjape, Inventiones mathematicae, 1989, vol. 2. That paper addresses precisely this question.