From 0d9a4f37f519a9aeda2b67a1b78b4cb7820bc086 Mon Sep 17 00:00:00 2001 From: Luiz Bezerra Date: Mon, 7 Oct 2024 17:06:05 +0100 Subject: [PATCH] testing sonarcloud Signed-off-by: Luiz Bezerra --- .github/workflows/sonarqube.yml | 6 +++++- sonar-project.properties | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sonarqube.yml b/.github/workflows/sonarqube.yml index aad667c708..096ae6568b 100644 --- a/.github/workflows/sonarqube.yml +++ b/.github/workflows/sonarqube.yml @@ -3,7 +3,10 @@ name: SonarQube Scan on: push: branches: + - main - sonarqube-integration +# pull_request: +# types: [opened, synchronize, reopened] jobs: build: @@ -13,7 +16,8 @@ jobs: - uses: actions/checkout@v4.1.1 with: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - - uses: sonarsource/sonarqube-scan-action@v3 + - name: SonarCloud Scan + uses: SonarSource/sonarcloud-github-action@master env: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} SONAR_HOST_URL: ${{ vars.SONAR_HOST_URL }} diff --git a/sonar-project.properties b/sonar-project.properties index 0e09b39dbe..dd3b301bee 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -1 +1,2 @@ sonar.projectKey=lichtblick +sonar.organization=lichtblick-suite