From 7f81eb1a3d77da2e93c5e7cd943c0b90927ae363 Mon Sep 17 00:00:00 2001 From: Simon Diesenreiter Date: Mon, 11 Nov 2024 05:51:14 -0800 Subject: [PATCH] more sonar fixes --- .gitea/workflows/sonar.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/sonar.yml b/.gitea/workflows/sonar.yml index bbd6e5b..50cb008 100644 --- a/.gitea/workflows/sonar.yml +++ b/.gitea/workflows/sonar.yml @@ -17,7 +17,10 @@ jobs: # Disabling shallow clone is recommended for improving relevancy of reporting fetch-depth: 0 - name: SonarQube Scan - uses: kitabisa/sonarqube-action@v1.2.0 + uses: sonarsource/sonarqube-scan-action@master + env: + SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }} + SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST }} with: - host: ${{ secrets.SONARQUBE_HOST }} - login: ${{ secrets.SONARQUBE_TOKEN }} \ No newline at end of file + args: > + -Dsonar.projectKey=project_name \ No newline at end of file