Describe the bug
e.g. NVIDIA/spark-rapids-jni#2917 this pre_release change would cover all commit history,
in this case many files may not pass the check, so we should ignore the check when the merge to main situation cc @YanxuanLiu
Steps/Code to reproduce bug
Please provide a list of steps or a code sample to reproduce the issue.
Avoid posting private or sensitive data.
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.