Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions actions/checkout/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ inputs:
Whether to download Git-LFS files.
See https://github.com/actions/checkout#usage
default: "false"
sparse-checkout:
description: |
Whether to enable sparse checkout and the list of files or directories to include in the checkout.
See https://github.com/actions/checkout#usage
persist-credentials:
description: |
Whether to persist the token credentials in the Git config.
Expand Down Expand Up @@ -55,6 +59,7 @@ runs:
with:
fetch-depth: ${{ inputs.fetch-depth }}
lfs: ${{ inputs.lfs }}
sparse-checkout: ${{ inputs.sparse-checkout }}
token: ${{ inputs.token || github.token }}
persist-credentials: true

Expand All @@ -63,5 +68,6 @@ runs:
with:
fetch-depth: ${{ inputs.fetch-depth }}
lfs: ${{ inputs.lfs }}
sparse-checkout: ${{ inputs.sparse-checkout }}
token: ${{ inputs.token || github.token }}
persist-credentials: false
Loading