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