Scan is succeed, But PR comment (and GitHub Checks) was not received

github
sonarcloud
pull-request
github-checks

(Shuma Yoshioka) #1

Hello. I’m Shuma.
I’m using SonarCloud.io at work.

This mock project was successfully received scanner’s result as PR comment (until recently).
But, It’s failed to receive comment on push commit now.

Pull Request: https://github.com/S64/example-sonarcloud-android/pull/14
Job: https://circleci.com/gh/S64/example-sonarcloud-android/78
Scanner result: https://sonarcloud.io/project/issues?id=example-sonarcloud-android&open=AWhu7XEjZVv8HpnInLYp&pullRequest=14&resolved=false

Any ideas?


(Janos Gyerik) #2

Thanks for reporting this, I will investigate.


(Janos Gyerik) #4

Hi again, and sorry for the delay.

Can you please confirm:

  • If you kick the CI again, will you still not get the decoration?
  • Does your CI run the analysis on the same sha1 that is the head of your PR, or does it run on a merge commit? (If it runs on a different sha1, then the decoration may not be visible.)