I have setup a GitHub action for my CI that, among other things, triggers a sonarcloud analysis. It works perfectly well, unless a PR is analyzed. In this latter case, the “Begin Analysis Step” fails with the following error:
The format of the analysis property sonar.login= is invalid
For the record:
- GitHub repository: https://github.com/addupsolutions/AddUp.FakeRabbitMQ
- Example failing build: https://github.com/addupsolutions/AddUp.FakeRabbitMQ/runs/1373459159
- This is a .NET solution built with
dotnet build
anddotnet sonarscanner
tool. See the relevant yaml here: https://github.com/addupsolutions/AddUp.FakeRabbitMQ/blob/master/.github/workflows/build.yml - And here are the Sonarcloud analyses for this project: https://sonarcloud.io/dashboard?id=addupsolutions_AddUp.FakeRabbitMQ
Is there something specific to PRs to activate (either on GitHub or Sonarcloud side)? If not, should I deactivate analysis for PRs?
Thanks for your insight!