From eea15fc91b2ff2e6b9621723f9c9477cc84c8043 Mon Sep 17 00:00:00 2001 From: tobbe Date: Wed, 7 Jan 2026 09:19:13 +0100 Subject: [PATCH] disabling shallow clone --- action.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/action.yml b/action.yml index bdddf87..f4e6612 100644 --- a/action.yml +++ b/action.yml @@ -10,6 +10,9 @@ runs: steps: - name: Checkout uses: actions/checkout@v4 + with: + # Disabling shallow clone is recommended for improving relevancy of reporting + fetch-depth: 0 - run: mvn clean install - run: mvn org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.host.url=${{ inputs.sonar_host_url }} -Dsonar.token=${{ inputs.sonar_token }}