From e3de20f0791ec4faa14f47e4c786699a8823efa9 Mon Sep 17 00:00:00 2001 From: Simon Diesenreiter Date: Mon, 11 Nov 2024 05:50:52 -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