SonarQube Pull Request decoration GitHub commit not found

  • SonarQube edition: Enterprise Edition Version 8.9.6 (build 50800)
  • what are you trying to achieve: Pull request decoration

We use GitHub and some pull requests don’t get pull request decoration so the GitHub check stays in waiting status (see image below).

I also found that we get a warning message in SonarQube related to the pull request that didn’t get the pull request decoration.


Do you know how we can fix this?


It sounds like maybe your pipeline is doing a merge commit before analysis? In which case, that commit would only be local and not present in the repository to be decorated.

Does that sound plausible?