From 38f35bf750340beb63207b0ca428d178d02d148b Mon Sep 17 00:00:00 2001 From: Patrick Date: Mon, 25 May 2026 13:40:49 -0400 Subject: [PATCH] modified: .gitea/workflows/sonarqube.yml --- .gitea/workflows/sonarqube.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/sonarqube.yml b/.gitea/workflows/sonarqube.yml index cc8d15c..32faa39 100644 --- a/.gitea/workflows/sonarqube.yml +++ b/.gitea/workflows/sonarqube.yml @@ -6,14 +6,18 @@ on: jobs: sonarqube: - runs-on: ubuntu-latest + # 1. Update this to match your EXACT Gitea runner label + runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v4 with: - fetch-depth: 0 # Recommended for better reporting relevancy + fetch-depth: 0 + - name: SonarQube Scan - uses: kitabisa/sonarqube-action@v1.2.0 - with: - host: ${{ secrets.SONARQUBE_HOST }} - login: ${{ secrets.SONARQUBE_TOKEN }} + # 2. Replaced with the official, actively maintained action + uses: SonarSource/sonarqube-scan-action@v4 + env: + # 3. SonarSource uses environment variables, not 'with' parameters + SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST }} + SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}