File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 1616 dryRun :
1717 description : " Setting this to anything will run all the steps except opening the PR"
1818
19+ permissions :
20+ contents : write
21+
1922jobs :
2023 create-pull-request :
2124 name : Create Node PR
@@ -47,13 +50,13 @@ jobs:
4750 - name : Checkout Node
4851 uses : actions/checkout@v3
4952 with :
50- token : ${{ secrets.NODE_PULL_REQUEST_TOKEN }}
53+ token : ${{ secrets.NODE_PULL_REQUEST_TOKEN_V2 }}
5154 repository : nodejs/node
5255 fetch-depth : 0
5356 path : node
5457 - name : Create Node Pull Request
5558 env :
56- GITHUB_TOKEN : ${{ secrets.NODE_PULL_REQUEST_TOKEN }}
59+ GITHUB_TOKEN : ${{ secrets.NODE_PULL_REQUEST_TOKEN_V2 }}
5760 run : |
5861 DRY_RUN=$([ -z "${{ inputs.dryRun }}" ] && echo "" || echo "--dry-run")
5962 node scripts/create-node-pr.js ${{ inputs.spec }} ${{ inputs.branch }} "$DRY_RUN"
Original file line number Diff line number Diff line change 1414 dryRun:
1515 description: "Setting this to anything will run all the steps except opening the PR"
1616
17+ permissions:
18+ contents: write
19+
1720jobs:
1821 create-pull-request:
1922 {{> jobYml jobName =" Create Node PR" jobCheckout = (obj fetch-depth =0 ) }}
You can’t perform that action at this time.
0 commit comments