From a9567f6110c71ccfaa1d6401f116a1dc2c6ab7b2 Mon Sep 17 00:00:00 2001 From: lwih Date: Tue, 2 Jan 2024 20:12:42 +0100 Subject: [PATCH] CI - fix sonarcloud analysis --- .github/workflows/release.yml | 4 ++-- .github/workflows/sonarcloud.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4d8870cd9..eebb817d8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,8 +1,8 @@ name: "Release" on: - push: - branches: [ "main" ] + # push: + # branches: [ "main" ] release: types: [ published ] diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index c38032f79..cd19209d9 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -56,8 +56,8 @@ jobs: args: # Unique keys of your project and organization. You can find them in SonarCloud > Information (bottom-left menu) # mandatory - -Dsonar.projectKey=mtes-mct - -Dsonar.organization=MTES-MCT_rapportnav2 + -Dsonar.projectKey=MTES-MCT_rapportnav2 + -Dsonar.organization=mtes-mct # Comma-separated paths to directories containing main source files. #-Dsonar.sources= # optional, default is project base directory # When you need the analysis to take place in a directory other than the one from which it was launched @@ -65,4 +65,4 @@ jobs: # Comma-separated paths to directories containing test source files. #-Dsonar.tests= # optional. For more info about Code Coverage, please refer to https://docs.sonarcloud.io/enriching/test-coverage/overview/ # Adds more detail to both client and server-side analysis logs, activating DEBUG mode for the scanner, and adding client-side environment variables and system properties to the server-side log of analysis report processing. - #-Dsonar.verbose= # optional, default is false + #-Dsonar.verbose= # optional, default is false