diff --git a/.github/workflows/scan-ci.yml b/.github/workflows/scan-ci.yml index 7577aa2e3c..1be3733df2 100644 --- a/.github/workflows/scan-ci.yml +++ b/.github/workflows/scan-ci.yml @@ -58,3 +58,4 @@ jobs: args: > -Dsonar.organization=${{ github.repository_owner }} -Dsonar.projectKey=${{ github.repository_owner }}_${{ github.event.repository.name }} + -Dsonar.pullrequest.key=${{ github.event.pull_request.number }} diff --git a/.github/workflows/scan.yml b/.github/workflows/scan.yml index aee5f139da..ff7c18e31d 100644 --- a/.github/workflows/scan.yml +++ b/.github/workflows/scan.yml @@ -70,3 +70,4 @@ jobs: args: > -Dsonar.organization=${{ github.repository_owner }} -Dsonar.projectKey=${{ github.repository_owner }}_${{ github.event.repository.name }} + -Dsonar.pullrequest.key=${{ github.event.pull_request.number }}