Update .forgejo/workflows/sonar.yml
Some checks failed
SonarQube Scan / SonarQube Trigger (push) Has been cancelled

This commit is contained in:
SevenOfAces 2025-03-06 04:20:42 +00:00
parent 4e262a08e6
commit c895145f8e

View file

@ -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