From 83385421ffe852adc8a98c376b33f95d9c6bbf22 Mon Sep 17 00:00:00 2001 From: Mark Sinclair <14054343+mmsinclair@users.noreply.github.com> Date: Mon, 14 Jul 2025 17:24:42 +0100 Subject: [PATCH] Create ci-sonar.yml --- .github/workflows/ci-sonar.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/ci-sonar.yml diff --git a/.github/workflows/ci-sonar.yml b/.github/workflows/ci-sonar.yml new file mode 100644 index 0000000000..78234a4126 --- /dev/null +++ b/.github/workflows/ci-sonar.yml @@ -0,0 +1,19 @@ +name: Build +on: + push: + branches: + - develop +# pull_request: +# types: [opened, synchronize, reopened] +jobs: + sonarqube: + name: SonarQube + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis + - name: SonarQube Scan + uses: SonarSource/sonarqube-scan-action@v5 + env: + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}