File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 14
14
dryRun:
15
15
description: "Setting this to anything will run all the steps except opening the PR"
16
16
17
+ permissions:
18
+ contents: write
19
+
17
20
jobs:
18
21
create-pull-request:
19
22
{{> jobYml jobName =" Create Node PR" jobCheckout = (obj fetch-depth =0 ) }}
20
23
- name: Checkout Node
21
24
uses: actions/checkout@v3
22
25
with:
23
- token: $\{{ secrets.NODE_PULL_REQUEST_TOKEN }}
26
+ token: $\{{ secrets.NODE_PULL_REQUEST_TOKEN_V2 }}
24
27
repository: nodejs/node
25
28
fetch-depth: 0
26
29
path: node
27
30
- name: Create Node Pull Request
28
31
env:
29
- GITHUB_TOKEN: $\{{ secrets.NODE_PULL_REQUEST_TOKEN }}
32
+ GITHUB_TOKEN: $\{{ secrets.NODE_PULL_REQUEST_TOKEN_V2 }}
30
33
run: |
31
34
DRY_RUN=$([ -z "$\{{ inputs.dryRun }} " ] && echo "" || echo "--dry-run")
32
35
node scripts/create-node-pr.js $\{{ inputs.spec }} $\{{ inputs.branch }} "$DRY_RUN"
You can’t perform that action at this time.
0 commit comments