UP BJP chief Pankaj Chaudhary warned that caste-based gatherings violate party discipline and will attract action if repeated.