From 4fd87935f07a994490608e4ad7e872d3f6a14d07 Mon Sep 17 00:00:00 2001 From: Adam Waller <176666249+adam-wallernhs1@users.noreply.github.com> Date: Thu, 26 Mar 2026 15:46:08 +0000 Subject: [PATCH] added SonarQube checks back in now new token has been added --- .github/workflows/quality-checks.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/quality-checks.yml b/.github/workflows/quality-checks.yml index dbc8c351..cd940db6 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 }}