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 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 ) }}
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"
You can’t perform that action at this time.
0 commit comments