Java projects has ./gradlew spotlessCheck, ./gradlew spotlessApply. That command formats all files to one style in Java. Format code with same way with clang-format
Optional: About PR style check I mean if PR didn't followed Code Style Guide then PR should be rejected by Bot.