diff --git a/.github/workflows/scan.yml b/.github/workflows/scan.yml index 03900fd16729..3558d8255b1a 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