Skip to content

Commit 84fa913

Browse files
committed
Fix SonarQube Cloud findings
1 parent 775cc56 commit 84fa913

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/quality.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
run: |
5959
$ErrorActionPreference = "Stop"
6060
$PSNativeCommandUseErrorActionPreference = $true
61-
${{ runner.temp }}\scanner\dotnet-sonarscanner begin /k:"secure-web-apps_EndToEndSecurityWeb" /o:"secure-web-apps" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.projectBaseDir="D:\a\EndToEndSecurityWeb\EndToEndSecurityWeb" /d:sonar.cs.vscoveragexml.reportsPaths=coverage.xml /d:sonar.terraform.provider.azure.version=4.49.0
61+
${{ runner.temp }}\scanner\dotnet-sonarscanner begin /k:"secure-web-apps_EndToEndSecurityWeb" /o:"secure-web-apps" /d:sonar.token="$env:SONAR_TOKEN" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.projectBaseDir="D:\a\EndToEndSecurityWeb\EndToEndSecurityWeb" /d:sonar.cs.vscoveragexml.reportsPaths=coverage.xml /d:sonar.terraform.provider.azure.version=4.49.0
6262
dotnet build .\Bff.sln --configuration Release
6363
dotnet-coverage collect 'dotnet test .\tests\BffMicrosoftEntraID.Server.IntegrationTests.csproj' -f xml -o 'coverage.xml'
64-
${{ runner.temp }}\scanner\dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"
64+
${{ runner.temp }}\scanner\dotnet-sonarscanner end /d:sonar.token="$env:SONAR_TOKEN"

0 commit comments

Comments
 (0)