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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy