How to turn off GitHub PR comments by SonarCloud

This is regarding this topic.

For the life of me I can’t find this setting in our SonarCloud. Can you walk me through how to get to this setting?

We’re using the Github Integration.

Do you need to be an organisation admin to do this?

Hi @johannes-gehrs,

Welcome to the community!

You can find it here: https://sonarcloud.io/project/settings?category=pull_request&id=<project_key>
The section is called: “Integration with GitHub”. It is present in the “Administration” menu, you have to be the owner/admin of the org to change it.

Best,
Marcin

1 Like

We don’t see any of those settings.

Entering the URL gives You are not authorized to access this page. Please log in with more privileges and try again. Even for an Github org admin.

Is it possible that there’s a diffference when using SonarCloud for organisations (as opposed to personal github account)? For example our projects URL looks like this: https://sonarcloud.io/organizations/our-org/projects

Do you see this menu on the project view?

You should click General Settings and then “Pull Requests” on the left side. There, there is an option to switch of comments:

Best,
Marcin

1 Like

Hey, there is no “Administration”, although my colleague has org admin rights. Any cues? See screenshot

Our problem was somewhat unrelated to the original question. Fortunately Marcin was able to resolve this.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.