From 4c42f5315f5838b46b84773d0044c21d49710c6f Mon Sep 17 00:00:00 2001 From: haucki Date: Mon, 29 Jun 2026 10:39:02 +0200 Subject: [PATCH] =?UTF-8?q?.gitea/workflows/sonarqube.yml=20hinzugef=C3=BC?= =?UTF-8?q?gt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/sonarqube.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .gitea/workflows/sonarqube.yml diff --git a/.gitea/workflows/sonarqube.yml b/.gitea/workflows/sonarqube.yml new file mode 100644 index 0000000..8b99446 --- /dev/null +++ b/.gitea/workflows/sonarqube.yml @@ -0,0 +1,24 @@ +name: SonarQube Scan + +on: + push: + branches: + - main + pull_request: + types: [opened, synchronize, reopened] + +jobs: + sonarqube: + name: SonarQube Trigger + runs-on: ubuntu-latest + steps: + - name: Checkout Code + uses: actions/checkout@v4 + with: + fetch-depth: 0 # Disables shallow clone for more accurate blame/analysis data + + - name: Run SonarQube Scanner + uses: SonarSource/sonarqube-scan-action@v4 + env: + SONAR_TOKEN: http://docker01.fritz.box:9001 + SONAR_HOST_URL: sqp_450c392dfb94696fc68a00a0dca31bf93dfaa350