Skip to content

Commit cd0a514

Browse files
author
Gonzalo Diaz
committed
[CONFIG] [Github Actions] sonarcloud "security issues" fixed.
1 parent 914bae2 commit cd0a514

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/sonarcloud.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,12 @@ jobs:
5151
run: |
5252
.\.sonar\scanner\dotnet-sonarscanner begin `
5353
/k:"sir-gon_algorithm-exercises-csharp" `
54-
/o:"sir-gon" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" `
54+
/o:"sir-gon" /d:sonar.token="${{ env.SONAR_TOKEN }}" `
5555
/d:sonar.host.url="https://sonarcloud.io" `
5656
/d:sonar.cs.opencover.reportsPaths=**/coverage.opencover.xml
5757
5858
dotnet restore
5959
dotnet build --no-restore
6060
dotnet test --no-build --verbosity normal
6161
.\.sonar\scanner\dotnet-sonarscanner end `
62-
/d:sonar.token="${{ secrets.SONAR_TOKEN }}"
62+
/d:sonar.token="${{ env.SONAR_TOKEN }}"

0 commit comments

Comments
 (0)