Skip to content

Commit 3f4d45b

Browse files
committed
fetch depth
1 parent 85d6787 commit 3f4d45b

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

actions/setup-environment/action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ inputs:
1313
description: 'The ref to checkout'
1414
required: false
1515
default: ''
16+
fetch-depth:
17+
description: 'The fetch depth'
18+
required: false
19+
default: 1
1620
node-version:
1721
description: 'Node.js version to setup'
1822
required: false
@@ -38,6 +42,7 @@ runs:
3842
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3943
with:
4044
ref: ${{ inputs.ref }}
45+
fetch-depth: ${{ inputs.fetch-depth }}
4146

4247
- name: Setup Node.js (with version file)
4348
if: inputs.use-version-file == 'true'

0 commit comments

Comments
 (0)