diff --git a/.forgejo/workflows/sonar.yml b/.forgejo/workflows/sonar.yml index 710053d..ebd2be6 100644 --- a/.forgejo/workflows/sonar.yml +++ b/.forgejo/workflows/sonar.yml @@ -23,12 +23,14 @@ jobs: with: pollingTimeoutSec: 600 args: > - -Dsonar.projectKey=${{ secrets.SONARQUBE_HOST }} + -Dsonar.projectKey=$SONAR_PROJECT_KEY -Dsonar.verbose=true env: SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST }} SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }} - # Check the Quality Gate status. + SONAR_PROJECT_KEY: ${{ secrets.SONARQUBE_PROJECT_KEY }} + + # Check the Quality Gate status. - name: SonarQube Quality Gate check id: sonarqube-quality-gate-check uses: https://github.com/sonarsource/sonarqube-quality-gate-action@master