diff --git a/.github/workflows/call_code_review.yml b/.github/workflows/call_code_review.yml index ed2f520da..568a8afe2 100644 --- a/.github/workflows/call_code_review.yml +++ b/.github/workflows/call_code_review.yml @@ -4,6 +4,9 @@ on: pr_number: type: string required: true + module: + type: string + required: true source_branch: type: string required: true @@ -32,7 +35,7 @@ jobs: - name: Build and Analyze shell: bash - run: mvn --projects :test-coverage --also-make verify -Ponboarding-ms,report,coverage + run: mvn --projects :test-coverage --also-make verify -P${{ inputs.module }},report,coverage -Dsonar.organization=pagopa -Dsonar.projectKey=${{ inputs.sonar_key }} -Dsonar.token=${{ secrets.SONAR_TOKEN }} diff --git a/.github/workflows/pr_functions.yml b/.github/workflows/pr_functions.yml index b5eab7262..ce26c41b1 100644 --- a/.github/workflows/pr_functions.yml +++ b/.github/workflows/pr_functions.yml @@ -30,3 +30,4 @@ jobs: source_branch: ${{ github.head_ref }} target_branch: ${{ github.base_ref }} sonar_key: 'pagopa_selfcare-onboarding' + module: 'onboarding-functions' diff --git a/.github/workflows/pr_libs.yml b/.github/workflows/pr_libs.yml index b6b1b0a77..470270c02 100644 --- a/.github/workflows/pr_libs.yml +++ b/.github/workflows/pr_libs.yml @@ -30,3 +30,4 @@ jobs: source_branch: ${{ github.head_ref }} target_branch: ${{ github.base_ref }} sonar_key: 'pagopa_selfcare-onboarding' + module: 'onboarding-sdk' diff --git a/.github/workflows/pr_ms.yml b/.github/workflows/pr_ms.yml index 960833938..bde3a944f 100644 --- a/.github/workflows/pr_ms.yml +++ b/.github/workflows/pr_ms.yml @@ -29,6 +29,7 @@ jobs: source_branch: ${{ github.head_ref }} target_branch: ${{ github.base_ref }} sonar_key: 'pagopa_selfcare-onboarding' + module: 'onboarding-ms' build_docker: name: 'Build Docker image'