We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b39e18 commit 6716952Copy full SHA for 6716952
1 file changed
setup-js/action.yml
@@ -6,6 +6,10 @@ inputs:
6
description: Whether to configure the token or SSH key with the local git config
7
default: false
8
9
+ ref:
10
+ description: The `ref` option of actions/checkout
11
+ default: ""
12
+
13
fetch-all:
14
description: Whether to fetch all commits and submodules.
15
@@ -29,6 +33,7 @@ runs:
29
33
uses: actions/checkout@v6
30
34
with:
31
35
persist-credentials: ${{ inputs.persist-credentials }}
36
+ ref: ${{ inputs.ref }}
32
37
fetch-depth: "${{ inputs.fetch-all == 'true' && '0' || '1' }}"
38
submodules: "${{ inputs.fetch-all == 'true' && 'recursive' || false }}"
39
0 commit comments