From b036d6c0e890fad4f6877bca53f225af73bebacc Mon Sep 17 00:00:00 2001 From: Matt Andreko Date: Wed, 12 Feb 2025 09:07:27 -0500 Subject: [PATCH] Enabled SonarQube scanning for PRs (#13250) * Modified Scan workflow to contain PR number during a PR * Update .github/workflows/scan.yml Co-authored-by: Matt Bishop --------- Co-authored-by: Matt Bishop --- .github/workflows/scan.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/scan.yml b/.github/workflows/scan.yml index ac7f0ae6f71..c5e189c4666 100644 --- a/.github/workflows/scan.yml +++ b/.github/workflows/scan.yml @@ -77,3 +77,4 @@ jobs: -Dsonar.sources=. -Dsonar.test.inclusions=**/*.spec.ts -Dsonar.exclusions=**/*.spec.ts + -Dsonar.pullrequest.key=${{ github.event.pull_request.number }}