Help in Decorating Pull Requests

Hi,

we plan to integrate PR decoration into our SonarQube and I’ve seen this documentation https://docs.sonarqube.org/latest/analysis/pr-decoration/

Our source code is currently in GitHub.

When I understand the documentation correctly, our SonarQube instance needs to be reachable from outside, right? So GitHub can then send webhooks to our SonarQube instance ?

Greetings!

SonarQube needs to be able to communicate with GitHub, but not the other way around. :slight_smile:

Hi @Colin

thank you for your answer. In the list of points to do there are these two point:

  1. Enter your User authorization callback URL . Set this to your instance’s base URL. For example, yourinstance.sonarqube.com .
  2. Add a Webhook URL . Set this to your instance’s base URL. For example, yourinstance.sonarqube.com .

This sounds like we need a SQ instance reachable from outside.

So how does it work then?

Github requires these fields get filled in – in the context of PR decoration, they aren’t useful.

It would be good if the documentation has some explanation or some note on this.