Skip to content

Commit da7fbde

Browse files
committed
WIP
1 parent 1ac037c commit da7fbde

File tree

1 file changed

+4
-0
lines changed
  • github-actions/npm/checkout-and-setup-node

1 file changed

+4
-0
lines changed

github-actions/npm/checkout-and-setup-node/action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: 'Checkout and Setup Node'
22
description: 'Checks out the repository and sets up node environment.'
33
author: 'Angular'
44
inputs:
5+
github-token:
6+
description: |
7+
If provided, a token to authenticate with Github for repository checkout.
58
ref:
69
description: |
710
The branch, tag or SHA to checkout. Defaults to allowing actions/checkout to determine the ref.
@@ -45,6 +48,7 @@ runs:
4548
filter: blob:none
4649
persist-credentials: false
4750
ref: ${{ inputs.ref }}
51+
token: $${ inputs.github_token }}
4852

4953
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
5054
with:

0 commit comments

Comments
 (0)