Pull request decorations without the GitHub app

Hi everybody,

When we try to do pull request decorations after following the official instructions (Pull Request analysis), 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

1 Like

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

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?

1 Like

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.

1 Like