Skip to content

Commit

Permalink
Try true/false instead of 1/0
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts committed Aug 12, 2023
1 parent ca508f6 commit 57cf570
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 57cf570

Please # to comment.