diff --git a/.github/workflows/quality-checks.yml b/.github/workflows/quality-checks.yml index dbc8c35..cd940db 100644 --- a/.github/workflows/quality-checks.yml +++ b/.github/workflows/quality-checks.yml @@ -67,3 +67,14 @@ jobs: .venv node_modules .git + + - name: SonarQube + uses: actions/checkout@v6.0.2 + with: + ref: ${{ github.event.pull_request.head.sha || github.sha }} + fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis + + - name: SonarQube Scan + uses: SonarSource/sonarqube-scan-action@a31c9398be7ace6bbfaf30c0bd5d415f843d45e9 + env: + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}