Pull request decorations without the GitHub app

pull-request

(Jouni Hätinen) #1

Hi everybody,

When we try to do pull request decorations after following the official instructions (https://docs.sonarqube.org/latest/analysis/pull-request/), we get the following warning message:

Pull request decoration did not happen. Please install SonarCloud Github application on the repository’s organization or user.

We do not have our organization’s permission to install SonarCloud app to our GitHub organization, but we had the understanding that the app only lets you skip setting the OAuth token, and pull request decorations should work without it too.

Is the GitHub App required for pull requests, and if not, what would be the reason for this kind of warning message?

-Jouni


(Fabrice Bellingard) #2

Yes, the PR decoration requires the App to be installed by an admin of your org. This is a must-have.


(Gabe Levasseur) #3

The PR decorations were working for use around three months ago and now they have stopped.

We installed the app but we have not imported repos through the integration because we already had projects setup.

Does this mean we need to only set projects up through the new integration?


(Fabrice Bellingard) #4

If you granted the app access to your repositories, there is no reason why it should not work anymore. Maybe you feel it’s not working because you don’t see any comments any longer? If yes, then you should probably read PR analysis results are now displayed in the Checks tab of Pull Requests in GitHub which explains that now PR analysis results are available in the Checks tab, no more in the Discussion tab.