Skip to content

Commit a22882f

Browse files
committed
WIP
1 parent 1ac037c commit a22882f

File tree

1 file changed

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

1 file changed

+5
-0
lines changed

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

Lines changed: 5 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.
@@ -44,7 +47,9 @@ runs:
4447
with:
4548
filter: blob:none
4649
persist-credentials: false
50+
repository: ${{ github.repository }}
4751
ref: ${{ inputs.ref }}
52+
token: $${ inputs.github_token }}
4853

4954
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
5055
with:

0 commit comments

Comments
 (0)