We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ac037c commit a22882fCopy full SHA for a22882f
github-actions/npm/checkout-and-setup-node/action.yml
@@ -2,6 +2,9 @@ name: 'Checkout and Setup Node'
2
description: 'Checks out the repository and sets up node environment.'
3
author: 'Angular'
4
inputs:
5
+ github-token:
6
+ description: |
7
+ If provided, a token to authenticate with Github for repository checkout.
8
ref:
9
description: |
10
The branch, tag or SHA to checkout. Defaults to allowing actions/checkout to determine the ref.
@@ -44,7 +47,9 @@ runs:
44
47
with:
45
48
filter: blob:none
46
49
persist-credentials: false
50
+ repository: ${{ github.repository }}
51
ref: ${{ inputs.ref }}
52
+ token: $${ inputs.github_token }}
53
54
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
55
0 commit comments