{"repo":"highbyte/sonarscan-dotnet","free":true,"listed":false,"github":"https://github.com/highbyte/sonarscan-dotnet","clone":"git clone https://github.com/highbyte/sonarscan-dotnet.git","description":"GitHub Action SonarCloud/SonarQube scanner for .NET 10/9/8/7/6/5 and .NET Core applications with pull request decoration support","language":"Shell","stars":43,"topics":["sonarqube","sonarcloud","codequality","dotnet-core","github-actions","sonarscanner","pull-request","dotnet","analysis","continuous-integration"],"license":"MIT","category":"workflow-automation","readme_excerpt":"SonarScanner for .NET SonarScanner for .NET for use in Github Actions, with automatic pull request detection, analysis and decoration. [!NOTE] This version supports .NET 10 . Other .NET versions GitHub Action version ------------------ ------------------------------------------------------------------------------------- .NET 9 2.4.3 or later 2.4 version .NET 8 2.3.4 or later 2.3 version .NET 7 2.2.6 .NET 6 2.1.5 .NET 5 2.0 .NET Core 3.1 1.0.2 Usage examples Simple use with SonarCloud Include code coverage with Coverlet Also includes test results. Build subfolder src, and include code coverage Also includes test results. Skip tests Use pre-build command to add a custom NuGet repository Use with self-hosted SonarQube Secrets - SONAR TOKEN – Required this is the token used to authenticate access to SonarCloud. You can generate a token on your Security page in SonarCloud. You can set the SONAR TOKEN environment variable in the \"Secrets\" settings page of your repository. - GITHUB TOKEN – Provided by Github (see Authenticating with the GITHUB TOKEN). Description of all inputs Troubleshooting Build error \"ERROR: Could not find a default branch to fall back on.\" If this error occurs in the build log, you can try this: You may have to manually create the project in SonarQube/SonarCloud dashboard first. Make sure the Action input parameter sonarProjectKey (and sonarOrganization for SonarCloud) matches the ones in SonarQube/SonarCloud. Make sure you have correct SONAR TOKEN set. See Sec","default_branch":null,"files":null,"tree":[],"storefront":"/r/highbyte","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/highbyte/sonarscan-dotnet/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}