Flexible Main Branch Designation

Hi there,

I’m encountering an inconsistency with the main branch designation in SonarCloud for a project recently imported from GitHub. Currently, SonarCloud recognizes “Development” (with a capital D) as the main branch, while the intended name on GitHub is “development” (all lowercase).

I understand that SonarQube version 10.2 introduced flexibility for main branch naming. However, I’m unclear on how to configure SonarCloud to recognize “development” (lowercase) as the official main branch, aligning it with the GitHub repository.

Any guidance or steps to achieve this configuration change would be greatly appreciated.

Thanks

Hey there.

You ought to be able to rename your main branch here.