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 da7fbdeCopy full SHA for da7fbde
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.
@@ -45,6 +48,7 @@ runs:
45
48
filter: blob:none
46
49
persist-credentials: false
47
50
ref: ${{ inputs.ref }}
51
+ token: $${ inputs.github_token }}
52
53
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
54
with:
0 commit comments