From acb453b75b61b2da33930f52341fcc6fc29cd52b Mon Sep 17 00:00:00 2001 From: Matt Bishop Date: Thu, 29 Feb 2024 15:40:14 -0500 Subject: [PATCH] Provide full depth for Sonar scans (#3860) --- .github/workflows/scan.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/scan.yml b/.github/workflows/scan.yml index 03900fd167..3558d8255b 100644 --- a/.github/workflows/scan.yml +++ b/.github/workflows/scan.yml @@ -46,6 +46,8 @@ jobs: steps: - name: Check out repo uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + with: + fetch-depth: 0 - name: Scan with SonarCloud uses: sonarsource/sonarcloud-github-action@49e6cd3b187936a73b8280d59ffd9da69df63ec9 # v2.1.1