I am trying to setup sonarcloud on a public github project using github workflows:
ERROR: main component does not belong to specified organization
I’ve seen Azure DevOps / Getting main component does not belong to specified organization but could not find the mentioned issue (mixup with projectKey/projectName) in my configuration.
Here is a direct link to the output with the error: https://github.com/stefanfoulis/django-phonenumber-field/pull/322/checks?check_run_id=332742400#step:4:131
sonar-project.properties
:
sonar.organisation=stefanfoulis
sonar.projectKey=stefanfoulis_django-phonenumber-field
sonar.sources=.
sonar.sourceEncoding=UTF-8
I’ve already tried this config without sonar.organisation
being set.
Cheers
Stefan