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

SbloodyS pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new 9cf0f15dd1 [Chore] Fix sonar token leak (#18363)
9cf0f15dd1 is described below

commit 9cf0f15dd19cc8f1379f08ed4009bbea5647da86
Author: xiangzihao <[email protected]>
AuthorDate: Mon Jun 22 16:25:27 2026 +0800

    [Chore] Fix sonar token leak (#18363)
---
 .github/workflows/unit-test.yml | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml
index 0f8ac7d605..ab78cfe56e 100644
--- a/.github/workflows/unit-test.yml
+++ b/.github/workflows/unit-test.yml
@@ -263,7 +263,7 @@ jobs:
           -Dsonar.organization=apache
           -Dsonar.core.codeCoveragePlugin=jacoco
           -Dsonar.projectKey=apache-dolphinscheduler
-          -Dsonar.token=e4058004bc6be89decf558ac819aa1ecbee57682
+          -Dsonar.token=${{ secrets.SONARCLOUD_TOKEN }}
           
-Dsonar.exclusions=dolphinscheduler-ui/src/**/i18n/locale/*.js,dolphinscheduler-microbench/src/**/*
           -Dhttp.keepAlive=false
           -Dmaven.wagon.http.pool=false
@@ -294,7 +294,7 @@ jobs:
     name: Unit Test
     runs-on: ubuntu-latest
     timeout-minutes: 5
-    needs: [ unit-test, paths-filter, sonar, sanity-check ]
+    needs: [ unit-test, paths-filter, sanity-check ]
     if: always()
     steps:
       - name: Status
@@ -311,7 +311,3 @@ jobs:
             echo "Unit Test Failed!"
             exit -1
           fi
-          if [[ ${{ needs.sonar.result }} != 'success' ]]; then
-            echo "SonarCloud Analysis Failed!"
-            exit -1
-          fi

Reply via email to