From 57cf5708884af97570a8a289599089a34c9313d9 Mon Sep 17 00:00:00 2001 From: Derek Roberts Date: Sat, 12 Aug 2023 00:41:25 -0700 Subject: [PATCH] Try true/false instead of 1/0 --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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