From e9f8f2eb09121dd0480de637c68310a056667242 Mon Sep 17 00:00:00 2001 From: Yuanjing Xue <197832395+yuanjingx87@users.noreply.github.com> Date: Tue, 13 Jan 2026 15:38:35 -0800 Subject: [PATCH] Add SonarQube scanning in github action Signed-off-by: Yuanjing Xue <197832395+yuanjingx87@users.noreply.github.com> --- .github/workflows/blossom-ci.yml | 6 ++++++ sonar-project.properties | 1 + 2 files changed, 7 insertions(+) create mode 100644 sonar-project.properties diff --git a/.github/workflows/blossom-ci.yml b/.github/workflows/blossom-ci.yml index be774ec1cc44..ba9ca7e768b4 100644 --- a/.github/workflows/blossom-ci.yml +++ b/.github/workflows/blossom-ci.yml @@ -369,6 +369,12 @@ jobs: ref: ${{ fromJson(needs.Authorization.outputs.args).ref }} lfs: 'true' + - name: Run SonarQube Code Analysis + uses: SonarSource/sonarqube-scan-action@v4 + env: + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} + - name: Run blossom action uses: NVIDIA/blossom-action@main env: diff --git a/sonar-project.properties b/sonar-project.properties new file mode 100644 index 000000000000..c62ffc3968f5 --- /dev/null +++ b/sonar-project.properties @@ -0,0 +1 @@ +sonar.projectKey=GPUSW_TensorRT-LLM-Team_TensorRT-LLM_tensorrt-llm