# Your default branch has not been analyzed yet

**URL:** <https://community.sonarsource.com/t/your-default-branch-has-not-been-analyzed-yet/113730>\
**Category:** SonarQube Cloud\
**Tags:** integrated\_security, gitlab, sonarqube-cloud\
**Created:** [April 18, 2024, 9:49am UTC](https://community.sonarsource.com/t/your-default-branch-has-not-been-analyzed-yet/113730 "2024-04-18T09:49:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Swapnil\_Pandya](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/swapnil_pandya/32/56833_2.png) [@Swapnil\_Pandya](https://community.sonarsource.com/u/Swapnil_Pandya)\
**Post date:** [April 18, 2024, 9:49am UTC](https://community.sonarsource.com/t/your-default-branch-has-not-been-analyzed-yet/113730/1 "2024-04-18T09:49:03Z")

</div>

we are following the mentioned steps and successfully it gets completed too, but somehow SonarCloud is not able to scan the repo automatically. We see the message below under project summary in Sonar dashboard.

“Your default branch has not been analyzed yet.” I tried all the solutions suggested in the community forum too, but Sonar is not detecting my repo.

Let me help you with understanding the structure. We have one group which consists of multiple subgroups and they are being used for different purposes. We are following all the steps of adding variables and tokens, updating **.gitlab-ci.yml** file and also adding **sonar.project.properties** file in the repository. Post this, one successful merge request should trigger sonar to detect the repo and scan it. The same is not happening in our case.

can someone please help us with the same.

---

<div class="post-metadata">

**Author:** ![ganncamp](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/ganncamp/32/1261_2.png) [@ganncamp](https://community.sonarsource.com/u/ganncamp)\
**Post date:** [April 19, 2024, 2:25pm UTC](https://community.sonarsource.com/t/your-default-branch-has-not-been-analyzed-yet/113730/2 "2024-04-19T14:25:57Z")

</div>

Hi,

Welcome to the community!

> [@Swapnil\_Pandya](#):
>
> adding **sonar.project.properties** file

This tells me you’re not using automatic analysis, but running your own CI-based analysis. That means that the question is how to get your CI to run the analysis step on the `main` branch. It’s really a CI question, rather than a SonarCloud question.

&nbsp;  
HTH,  
Ann
