Decorating PR's using Sonarqube Enterprise during Github Actions CI/CD build

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension) - * Enterprise Edition * Version 9.9 (build 65466)
  • how is SonarQube deployed: Standalone, zip only
  • what are you trying to achieve: integrate PR decorators in Github Actions
  • what have you tried so far to achieve this: I did follow GitHub integration (sonarsource.com)

Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!
Hi all,

I would like to integrate PR decorators as it has been showed at official youtube guide https://youtu.be/6zvBuZr8CeI?t=447 Everything works besides that step visible at 7 minutes and 27 seconds. We can’t see in Github Actions, Sonarqube’s analysis returned back to Github Actions.

We have following architecture

  1. Sonarqube server hidden behind a VPN
  2. Self-managed Github Actions host whitelisted to access Sonarqube
  3. Github app configured according to the documentation shared with you above
  4. Github Actions can connect to Sonarqube server and trigger the analysis
  5. Analysis is visible in Sonarqube
  6. We would like to pass results of that analysis back to Github Actions but we don’t see that.

Based on the documentation and required configuration between Github, Github Actions and Sonarqube - everything should work but unfortunately step 6 doesn’t.

Could you assist please?

Hey there.

All that’s required for Step #6 is that SonarQube is able to send a message to GitHub.

Does everything look fine so far as the connectivity? You can check in your global Administration > DevOps Platform Integrations (you’re looking for the green checkboxes)

If this is the case, you’ll also want to check the project-level Project Settings > DevOps Platform Integration, making sure it’s well completed and fix any warnings.