Hi, we’re using sonarcloud together with a GitHub C# mono-repo. Our CI is running on GH-actions (we do use the sonarscanner dotnet tool together with a lot of API calls to configure the SonarCloud projects)
We have for each project the mono-repo config enabled for quite some time but didn’t had any repo binding active.
This all worked quite well but when a QG was failing we didn’t had a easy quick way to see if it’s was the QG or the tests itself who where failing. Shortly said, we lacked the PR decoration functionality
As our CI is fully managing the SonarCloud project through API calls, we want todo the same with the repo binding, while doing this all, we encountered some issues:
- there are 2 ways of binding a repository and are threated differently by SonarCloud:
- you can bind by using the API
- you can bind by using the UI
- you cannot unbind a repo
While trying out the binding functionality, we have bound the above project through API and UI, but now we’re having issues with Sonarscanner, on that project the PR’s cannot be found any more
As we see it, this feature is still in alpha phase (if not then the API docs can be heavily improved, if is, then we would like to reset our projects to unbounded completely)
this is the API endpoint we’re using todo the binding => SonarQube Cloud
kind regards