Fix sonarqube using base branch on fork for detecting new code in pr (#2394)
* Fix sonarqube using base branch on fork for detecting new code in pr
* Add comment
* Tweak comment
* Fix origin vs upstream
* Stop wrongly using github.action_repository
* Fix condition, we can add upstream always