Skip to content

Commit 508c5e4

Browse files
committed
Merge branch 'main' of github.com:pasqualesalza/smart-checkout-action
2 parents 1532a07 + 38b713a commit 508c5e4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: action.yml

+2
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ runs:
6262
id: git_checkout_no_lfs
6363
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.2.2
6464
with:
65+
ref: ${{ inputs.head-branch }}
6566
fetch-depth: ${{ inputs.head-only == 'true' && inputs.head-only-fetch-depth || env.HEAD_FETCH_DEPTH }}
6667
lfs: false
6768

@@ -70,6 +71,7 @@ runs:
7071
id: git_checkout_lfs
7172
uses: kaiko-ai/action-cached-lfs-checkout@ce36e96f02d5a45724f099dfc0df5ebe4d4055fc # v1.2.2-patched
7273
with:
74+
ref: ${{ inputs.head-branch }}
7375
fetch-depth: ${{ inputs.head-only == 'true' && inputs.head-only-fetch-depth || env.HEAD_FETCH_DEPTH }}
7476
token: ${{ inputs.lfs-token }}
7577

0 commit comments

Comments
 (0)