From c895145f8e4d089fba81254720b9bed3ef35c0e9 Mon Sep 17 00:00:00 2001 From: SevenOfAces Date: Thu, 6 Mar 2025 04:20:42 +0000 Subject: [PATCH] Update .forgejo/workflows/sonar.yml --- .forgejo/workflows/sonar.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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