diff --git a/.github/workflows/central_code_quality_check.yml b/.github/workflows/central_code_quality_check.yml index 7f0d0d04b08..4a33f601d1c 100644 --- a/.github/workflows/central_code_quality_check.yml +++ b/.github/workflows/central_code_quality_check.yml @@ -6,10 +6,12 @@ name: Code quality check on: push: branches: - - '**' + - master + - main pull_request: branches: - master + - main workflow_dispatch: jobs: build: @@ -78,11 +80,11 @@ jobs: ;& "JanssenProject/jans-config-api") echo "Run Sonar analysis without test execution" - mvn -B -DskipTests=true verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar + mvn -B -DskipTests=true install org.sonarsource.scanner.maven:sonar-maven-plugin:sonar ;; *) echo "Run Sonar analysis with test execution" - mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar + mvn -B install org.sonarsource.scanner.maven:sonar-maven-plugin:sonar ;; esac