diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index f7dfa2bdb97..1c0fc64ff27 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -23,6 +23,8 @@ jobs: - name: "Checkout repository" uses: actions/checkout@v4 + with: + fetch-depth: 0 # To prevent shallow clone - name: 'Download artifact' uses: actions/github-script@v7