Skip to content

Commit bd32bfb

Browse files
committed
Add hint regarding SCA error/warning
1 parent 8a4be94 commit bd32bfb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,11 @@ To include .NET test coverage in the analysis of SonarScanner for .NET, the foll
9393
${{ runner.temp }}\scanner\dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"
9494
```
9595

96+
#### Software Composition Analysis (SCA)
97+
98+
> [!IMPORTANT]
99+
> Currently, it's required to set `sonar.sca.resolveAsRoot=true` in the `dotnet-sonarscanner` begin step to avoid `No lockfile was found for 'PATH_TO_PROJECT_FILE' (nuget)` warning on `Dependency Risks` and `Inventory` > `Dependencies` tabs
100+
96101
## Scan Results
97102

98103
### SonarQube Cloud

0 commit comments

Comments
 (0)