diff --git a/action.yml b/action.yml index 125dc8f..570e8ef 100644 --- a/action.yml +++ b/action.yml @@ -47,7 +47,7 @@ runs: - uses: actions/checkout@v3 with: # Disable shallow clone for SonarCloud analysis - fetch-depth: ${{ inputs.sonar_project_token && 0 || 1 }} + fetch-depth: ${{ ! inputs.sonar_project_token }} repository: ${{ inputs.repository }} # Process variables and inputs