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

panxiaolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 7b634d8817 [Chore](checks) fix SonarCloud Scan config define (#24370)
7b634d8817 is described below

commit 7b634d8817bfcd177559d1067670a9c898d6e25b
Author: Pxl <[email protected]>
AuthorDate: Thu Sep 14 16:17:52 2023 +0800

    [Chore](checks) fix SonarCloud Scan config define (#24370)
    
    fix SonarCloud Scan config define
---
 .github/workflows/code-checks.yml | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/code-checks.yml 
b/.github/workflows/code-checks.yml
index be9b22669e..3f4c8fd4d5 100644
--- a/.github/workflows/code-checks.yml
+++ b/.github/workflows/code-checks.yml
@@ -150,11 +150,12 @@ jobs:
       - name: SonarCloud Scan
         if: ${{ steps.filter.outputs.be_changes == 'true' }}
         uses: sonarsource/sonarcloud-github-action@master
-        env:
-          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-          SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
+        with:
           projectBaseDir: be
           args: >
             -Dsonar.host.url=https://sonarcloud.io 
             -Dsonar.organization=apache 
-            -Dsonar.projectKey=apache_incubator-doris
\ No newline at end of file
+            -Dsonar.projectKey=apache_incubator-doris
+        env:
+          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+          SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to