$CI_COMMIT_REF_NAME is the branch of code-sync, not the branch of gitlab repo.
$CI_COMMIT_REF_NAME
So, gitlab-pre-main-jh can reuse the same rules with .sync.
gitlab-pre-main-jh
.sync