diff --git a/release/action.yaml b/release/action.yaml index d619890..d0c22c9 100644 --- a/release/action.yaml +++ b/release/action.yaml @@ -36,7 +36,8 @@ runs: uses: actions/checkout@v3 if: inputs.checkout-repo with: - fetch-depth: 0 + fetch-depth: ${{ inputs.checkout-repo == 'true' && 0 || 1 }} + persist-credentials: false - name: Setup tools uses: open-turo/action-setup-tools@v1 - name: Install dependencies