Skip to content

Commit 9075128

Browse files
committed
token
1 parent 9c93bc8 commit 9075128

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

actions/setup-environment/action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ inputs:
2929
description: 'Optional registry URL for Node.js setup'
3030
required: false
3131
default: ''
32+
token:
33+
description: 'The token to use for checkout'
34+
required: false
35+
default: ${{ secrets.GITHUB_TOKEN }}
3236

3337
runs:
3438
using: 'composite'
@@ -43,6 +47,7 @@ runs:
4347
with:
4448
ref: ${{ inputs.ref }}
4549
fetch-depth: ${{ inputs.fetch-depth }}
50+
token: ${{ inputs.token }}
4651

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

0 commit comments

Comments
 (0)