This is an automated email from the ASF dual-hosted git repository.

nightowl888 pushed a commit to branch ci/sonarcloud
in repository https://gitbox.apache.org/repos/asf/lucenenet.git

commit d9d325aac08cb45829275837069a2d213f572761
Author: Shad Storhaug <[email protected]>
AuthorDate: Fri Nov 4 11:41:51 2022 +0700

    Updated sonar.yml to use Apache SONARCLOUD_TOKEN
    
    
https://cwiki.apache.org/confluence/display/INFRA/SonarCloud+for+ASF+projects
---
 .github/workflows/sonar.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/sonar.yml b/.github/workflows/sonar.yml
index 7c2eb5f6f..48c1fc0bd 100644
--- a/.github/workflows/sonar.yml
+++ b/.github/workflows/sonar.yml
@@ -39,9 +39,9 @@ jobs:
       - name: Build and analyze
         env:
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}  # Needed to get PR 
information, if any
-          SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
+          SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}
         shell: powershell
         run: |
-          .\.sonar\scanner\dotnet-sonarscanner begin /k:"apache_lucenenet" 
/o:"apache" /d:sonar.login="${{ secrets.SONAR_TOKEN }}" 
/d:sonar.host.url="https://sonarcloud.io";
+          .\.sonar\scanner\dotnet-sonarscanner begin /k:"apache_lucenenet" 
/o:"apache" /d:sonar.login="${{ env.SONAR_TOKEN }}" 
/d:sonar.host.url="https://sonarcloud.io";
           dotnet build
-          .\.sonar\scanner\dotnet-sonarscanner end /d:sonar.login="${{ 
secrets.SONAR_TOKEN }}"
\ No newline at end of file
+          .\.sonar\scanner\dotnet-sonarscanner end /d:sonar.login="${{ 
env.SONAR_TOKEN }}"

Reply via email to