# SonarQube Community Scan

**URL:** <https://community.sonarsource.com/t/sonarqube-community-scan/75364>\
**Category:** SonarQube Server / Community Build\
**Tags:** sonarqube\
**Created:** [November 1, 2022, 12:30pm UTC](https://community.sonarsource.com/t/sonarqube-community-scan/75364 "2022-11-01T12:30:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lovely\_sharma](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/lovely_sharma/32/37110_2.png) [@lovely\_sharma](https://community.sonarsource.com/u/lovely_sharma)\
**Post date:** [November 1, 2022, 12:30pm UTC](https://community.sonarsource.com/t/sonarqube-community-scan/75364/1 "2022-11-01T12:30:12Z")

</div>

Can we use SonarQube community edition in order to scan branch other than main or master, also can we do PR decoration with help of SonarQube community edition ?

---

<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:** [November 2, 2022, 1:22pm UTC](https://community.sonarsource.com/t/sonarqube-community-scan/75364/2 "2022-11-02T13:22:41Z")

</div>

Hi,

Welcome to the community!

You could do branch analysis by passing an alternate value to `sonar.projectKey`, say something like `[project key]-[branch name]`.

For PR decoration there is no workaround.

&nbsp;  
HTH,  
Ann
