Content-Length: 278697 | pFad | http://github.com/npm/cli/commit/2aa211372a4c08a0b7da6f5ea46282e7911c50c3

1D chore: update workflow token for updating Node PR · npm/cli@2aa2113 · GitHub
Skip to content

Commit 2aa2113

Browse files
committed
chore: update workflow token for updating Node PR
1 parent 815311b commit 2aa2113

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

scripts/template-oss/create-node-pr-yml.hbs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,22 @@ on:
1414
dryRun:
1515
description: "Setting this to anything will run all the steps except opening the PR"
1616

17+
permissions:
18+
contents: write
19+
1720
jobs:
1821
create-pull-request:
1922
{{> jobYml jobName="Create Node PR" jobCheckout=(obj fetch-depth=0) }}
2023
- name: Checkout Node
2124
uses: actions/checkout@v3
2225
with:
23-
token: $\{{ secrets.NODE_PULL_REQUEST_TOKEN }}
26+
token: $\{{ secrets.NODE_PULL_REQUEST_TOKEN_V2 }}
2427
repository: nodejs/node
2528
fetch-depth: 0
2629
path: node
2730
- name: Create Node Pull Request
2831
env:
29-
GITHUB_TOKEN: $\{{ secrets.NODE_PULL_REQUEST_TOKEN }}
32+
GITHUB_TOKEN: $\{{ secrets.NODE_PULL_REQUEST_TOKEN_V2 }}
3033
run: |
3134
DRY_RUN=$([ -z "$\{{ inputs.dryRun }}" ] && echo "" || echo "--dry-run")
3235
node scripts/create-node-pr.js $\{{ inputs.spec }} $\{{ inputs.branch }} "$DRY_RUN"

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/npm/cli/commit/2aa211372a4c08a0b7da6f5ea46282e7911c50c3

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy