We are happily using Sonarcloud with Github, but we’ve been encountering a recurring problem the last two days that I can’t put my finger on.
We are using the https://github.com/SonarSource/sonarcloud-github-action, and we have a workflow that blocks merges unless the Sonar Quality Gate’s is green.
We have had several occurences where the analysis is triggered, runs well and is green, and even adds a comment to the Pull Request, but the CI check does not pass.
I would think of a misconfiguration of my part, but the PR comment makes me think that Sonarcloud has all the access it needs
Any idea on what I could try? For now, the workaround is for devs to ask a user with Github admin privileges to bypass the checks, as the SonarCloud PR comment is readily available, it’s not too much hassle, but still.
Here is a reference to a task if it helps : https://sonarcloud.io/api/ce/task?id=AXRZmHaRwrvDq_VMVTAI
The PR is on a private repo, but here is its URL : https://github.com/ibizasoftware/paie/pull/183