rightnowministries/SonarCloud Scanner (dotnet)
Runs SonarCloud Static Analysis and Code Coverage for .Net Core Projects
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jul 10, 2026
- License
- GPL 3.0
Pinned Snippet
uses: rightnowministries/dotnet-sonar-scanner@dfcd1b964289d010f495727b01ae9a78b3eed7c5 # v2.1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| sonar-token | Sonar Auth Token | yes | — |
| sonar-project-key | SonarCloud Project Key | yes | — |
| sonar-organization | SonarCloud Organization | yes | — |
| sonar-url | SonarCloud URL | — | https://sonarcloud.io |
| sonar-exclusions | List of files excluded from SonarCloud Static Analysis | — | — |
| sonar-code-coverage-exclusions | List of files excluded from SonarCloud Code Coverage Analysis | — | "" |
| sonar-duplication-exclusions | List of files excluded from SonarCloud Duplication Analysis | — | — |
| dotnet-test-project | Project name for test coverage. If not provided, all tests will run. | — | "" |
| copy-aspnetcore-refs | Copy ASP.NET Core reference assemblies from test output refs folders before coverage runs. | — | true |
| copy-dlls | Copy DLLs to a directory. If not provided, the Copy DLLs step will be skipped. | — | false |
| files-to-copy | List of files to copy. | — | "" |
| copy-to-directory | Directory to copy the files to. | — | "" |
Outputs
no outputs